my $test_command = Command->new(@ARGV);
My guess is it doesn't work because there's no "Command" package with a "new" sub in it. In Perl, there's no automatic relationship between Test and Test::Command. They're just two names like Foo and Bar.
In reply to Re: About inheritence ? and Autoload ?
by kyle
in thread About inheritence ? and Autoload ?
by lepetitalbert
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |