From: "Lance Prais" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: help with outputting text Date sent: Tue, 11 Dec 2001 09:54:49 -0800
> I am opening a file and just want to check to make sure that the file is > being read correctly therefore I am using the following piece of code but > getting an error message but according to what I have read it is formatted > correctly. > > 1. #/usr/bin/perl > 2. #open a file with the filehandle > 3. > 4. > 5. open WORKFLOW, "..\\..\\workflow.txt" or die "Cannot open Workflow > $!\n"; > 6. While (<WORKFLOW>){ > 7. #chomp; #a) > 8. my $line=$_; > 9. Print STDRR "\nline: $line"; > 10. } Perl is case sEnsITivE. Jenda =========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ========== There is a reason for living. There must be. I've seen it somewhere. It's just that in the mess on my table ... and in my brain. I can't find it. --- me -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]