my @prereqs = ( "DBI", "MIME::Base64"); foreach (@prereqs) { if (!eval("require \($_\)")) { print "Missing prerequisite - $_\n"; exit 0; } }
Which of course doesn't have "" in the require.
In reply to Re^4: Can we do "use Win32:Service" on Unix ?"
by g0n
in thread Can we do "use Win32:Service" on Unix ?"
by ajith
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |