Re: Input from file

2002-01-28 Thread Jeff 'japhy' Pinyan
On Jan 28, Naveen Parmar said: >How do I have Perl script accept input from a file? Two ways that come to mind: while (<>) { # this reads from the command-line arguments as filenames # or from STDIN if there are no arguments } or open FILE, "< $ARGV[0]" # uses the first arg as a

Input from file

2002-01-28 Thread Naveen Parmar
Hello, How do I have Perl script accept input from a file? TIA, - NP _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: [EMAIL PROTECTED] For