in reply to unless weirdness
gives me Bareword "check_disk_space" not allowed while "strict subs" twice when trying to run the program; if I replace the unless with if I only get it once. Still a difference, but no longer between compiling/not compiling.use strict; use warnings; die "Not enough disk space.\n" unless check_disk_space; sub check_disk_space{0;} __END__
|
|---|