> This may be a more useful test.
>
> use strict;
> use warnings;
> use Bar;
>
> print "Sub routine
> call:\n\tBar::print_result(1,2);\n";
> my $call = Bar::print_result(1,2);
>
>
> print "\n\nMethod
> call:\n\tBar->print_result(1,2);\n";
> $call = Bar->print_result(1,2);
>
> __END__
>
> package Bar;
>
> use strict;
> use warnings;
> use Data::Dumper 'Dumper';
>
> sub print_result{
> print Dumper [EMAIL PROTECTED];
> }
>
> 1;
Hi Charles,
Thank you very much for the script and the
explanations.
Li
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>