NAME

Weed - ist ein englisches Wort für Unkraut

BASIS

-+- UNIVERSAL

USES

Weed::Environment

DESCRIPTION

Alles was mindestens X3DObject sein will, importiert Weed.

EXAMPLES

package MyPackage;
use Weed;
1;

package main;
use MyPackage;
my $object = new MyPackage($name);
print $object;

or

package MyPackage;

use Weed;

our $DESCIPTION = '
MyPackage : X3DNode {
	MFString  [in,out]  string  ""
}
';

sub initialize {
	my ($this) = @_;
	
	my $string = new MFString($this);
	
	$this->string($string);      # both statement produce the same result
	$this->set_string($string);  # the node field 'string' is set to the content of $string
	                             # and _string is called
	
	$this->_string($string);  # calls _string directly whitout setting the field
}

callback function names begin begin whith a underscore '_' followed by the field name

sub _string {
	my ($this, $value, $time) = @_;
	printf "%s\n", $value;
}

SEE ALSO

Weed::Seed

Weed::Field, Weed::ArrayField

Math::Vectors

AUTHOR

Holger Seelig holger.seelig@yahoo.de

COPYRIGHT

Das ist freie Software; du kannsts sie weiter verteilen und/oder verändern nach den gleichen Bedingungen wie Perl selbst.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 25:

Non-ASCII character seen before =encoding in 'für'. Assuming CP1252