- or download this
if(eval { require "foo.pm"; 1; } ) {
print "loaded module ok\n";
}else{
print "could not load module $@\n";
}
- or download this
if(eval " use foo; 1" ) {
print "loaded module ok\n";
}else{
print "could not load module $@\n";
}
- or download this
print petrol "hello there !";
- or download this
print STDOUT "hello\n";
- or download this
Unquoted string "petrol" may clash with future reserved word at p line
+ 3.
Name "main::petrol" used only once: possible typo at p line 3.
print() on unopened filehandle petrol at p line 3.