Ok, for starters, you should always post any updates in the original thread.
Secondly, we urged you to
use strict and
use warnings or the
-w switch.
Also, try using the OO-type interface for setting up filehandles and see if this gives you any joy :
my $fh = FileHandle->new(">$file");
Update: Duh, once again I can't see the woods for the trees. Thanks
davorg for pointing this out :)
Update #2 : As a pitiful attempt to save face, I would suggest using
which perl command as opposed to
perl -v, to ensure your shebang contains the correct path to your perl. (Maybe that will stop the downvotes :P)
Azatoth a.k.a Captain Whiplash
Make Your Die Messages Full of Wisdom!
Get YOUR PerlMonks Stagename here!
Want to speak like a Londoner?