I was up late last night trying to figure out an ugly...
it has always bugged me that
#!/usr/bin/perl
open something, ">/dev/null";
print something "happilly\n"; # then
close something; #back up...
works fine, but once I put in
#!/usr/bin/perl -w
use strict;
perl starts complaining...
I used to try to put quotes in there
open "something", ">/dev/null";
but that was foolish... I finnally found out that the real
solution is to use capital letters (especially at the
beginning of the file handle)... Though I don't remember--but
for a vague memory--any documentation to the effect.
Well, I'm nolonger pester'd. :) And my new pleasure on to you.
#!/usr/bin/perl
use strict;
open ThisWorksGreat, ">/dev/null";