Jeff Watson on 27 Mar 2006 15:43:56 -0000 |
I am having an issue with this part of my perl script. # eat output file, chop all lines but the load lines my $output = "c:\\TEST.out"; if($ARGV[0]) { print $ARGV[0] . "\n"; my $input = $ARGV[0]; print $input } else { print "BAD INPUT: Missing parse target filename!"; exit(0); } # ASSUME $input = C:\test.chm' !! #open(MYFILE, 'c:\test.chm'); # THIS WORKS!!! open(MYFILE, $input); # THIS FAILES!! :-/ while(<MYFILE>) #Drops out on this line becuase the file is not able to be opened? ....... -Jeff Watson -RedGibson@gmail.com ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|