- or download this
#! /usr/bin/perl
use warnings;
...
use test();
my $output = testroutine();
print $output, "\n";
- or download this
#! /usr/bin/perl
use warnings;
...
use test;
my $output = testroutine();
print $output, "\n";
- or download this
Undefined subroutine &main::testroutine called at ./test.pl line 8.
- or download this
$ perl -e 'map {print $_,"\n"} @INC'
/usr/lib/perl5/5.8/cygwin
...
/usr/lib/perl5/vendor_perl/5.8/cygwin
/usr/lib/perl5/vendor_perl/5.8
.
- or download this
#! /usr/bin/perl
use warnings;
...
use test();
my $output = testroutine();
print $output, "\n";
- or download this
This is a test
- or download this
sub testroutine {
return "This is a test";
}
1;