in reply to Invalid use of constant pragma?
Hmm, undef should eq '', though with a warning if warnings are enabled. Oh well, the above should fix that also if that's what you're getting.# Because of my C++ background use constant PROJECT => (@ARGV) ? $ARGV[0] : ''; use constant ARCHIVE => (@ARGV > 1) ? $ARGV[1] : '';
|
|---|