- or download this
#!/usr/bin/perl -w
...
&testbaz ;
} ;
warn $@ if $@ ;
- or download this
package Foo ;
use base qw(Class::DBI) ;
...
sub testfoo {
print "It works\n" ;
}
- or download this
package Goo ;
use base qw(Class::DBI) ;
...
}
1 ;
- or download this
package Biz ;
use base qw(CGI) ;
...
}
1 ;
- or download this
package Baz ;
use base qw(CGI) ;
...
}
1 ;
- or download this
$ perl test.pl
It works
It works
Undefined subroutine &main::testbiz called at test.pl line 19.
It works
- or download this
[mcdave@maia ~]$ uname -a
Linux maia 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x
+86_64 x86_64 GNU/Linux
...
It works
Undefined subroutine &main::testbiz called at test.pl line 19.
It works
- or download this
[mcdave@trowel ~]$ uname -a
Linux trowel 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64
+ x86_64 x86_64 GNU/Linux
...
It works
Undefined subroutine &main::testbiz called at test.pl line 19.
It works