Hello,
This is not a flame.
You provided a small program that does nothing but print the file. If
you need help, you really should help yourself a little more by first
thinking how the program should function. What are the logical steps
that need to be performed to achieve what you want. What data do you
want to get from the file, and what data do you want to output.
At least, attempt to parse the input file and put the data in an array.
This should be simple (read about split). Learn how to iterate over
the array (using foreach loop). Hopefully, you'll get your job done. If
not, post your non-working program and people will literally race to help
you.
People here are very helpful but only if you help yourself.
Aziz,,,
In article <DEDADA9FA9DDD411AAF40002A507CDEA175745@NTSERVER2>, "Debbie
Christensen" <[EMAIL PROTECTED]> wrote:
[snippet]
> #my simple program
>
> open(STATES,"state.txt")||
> die "can't open state:";
> while ($line = <STATES>)
> {
> print $line;
> }
> close STATES;
[/snippet]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]