Re: open FILE problem

2001-07-12 Thread Paul
--- Jennifer Pan <[EMAIL PROTECTED]> wrote: > Hello all, I came across this problem opening up files that are fed > in from command line using "ls". I do not know why this script did not > work. Appreciated any input. > > #!/usr/local/bin/perl > > # I am trying to feed all the files in this d

Re: open FILE problem

2001-07-12 Thread Chris Garringer
ls format is OS dependant. On Solaris ls returns a multiple column list, so the first line would be multiple filenames. Chris D. Garringer LAN/WAN Manager Master Certified Netware Engineer Microsoft Certified Systems Engineer Certified Solaris Administrator Red Hat Certified Engineer [EMAIL PROT

RE: open FILE problem

2001-07-12 Thread Mooney Christophe-CMOONEY1
In your die command, say: die "cannot open $LINE: $!\n"; This will give you a hint as to what's going wrong. -Original Message- From: Maxim Berlin [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 11:51 AM To: [EMAIL PROTECTED] Subject: Re: open FILE problem

RE: open FILE problem

2001-07-12 Thread Wagner-David
[mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 09:33 To: [EMAIL PROTECTED] Subject: open FILE problem Hello all, I came across this problem opening up files that are fed in from command line using "ls". I do not know why this script did not work. Appreciated any input. #!

Re: open FILE problem

2001-07-12 Thread Maxim Berlin
Hello Jennifer, Thursday, July 12, 2001, Jennifer Pan <[EMAIL PROTECTED]> wrote: JP> Hello all, I came across this problem opening up files that are fed in JP> from command line using "ls". I do not know why this script did not JP> work. Appreciated any input. [...] JP> at prompt I typed JP>

open FILE problem

2001-07-12 Thread Jennifer Pan
Hello all, I came across this problem opening up files that are fed in from command line using "ls". I do not know why this script did not work. Appreciated any input. #!/usr/local/bin/perl # I am trying to feed all the files in this directory to do text processing and save the processed txt i