D:\>echo package asdf; $VERSION = 5; 1; >asdf.pm D:\>perl -Masdf -e 1 D:\>echo package asdf; $VERSION = 5; 0; >asdf.pm D:\>perl -Masdf -e 1 asdf.pm did not return a true value. BEGIN failed--compilation aborted. D:\>perl -e " eval { require asdf; 1 } or warn $@; die $asdf::VERSION +" asdf.pm did not return a true value at -e line 1. 5 at -e line 1.
In reply to Re^3: module return
by Anonymous Monk
in thread module return
by saranperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |