Hello, I have written a small module with a function that returns some text.
However, when I run it, from a test script, I get:
Undefined subroutine &external::RETURN called at external.pm line 41.
The subroutine is thus:
sub test($) {
my $data = @_;
$data =~ s/cheese/ham/g;
RETURN ($data);
}
I think I may have missed something.. Any help would be wonderful!
Thanks!
Andy
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
