in reply to Re: How do you store a line of info from a file that you later need to sort?
in thread How do you store a line of info from a file that you later need to sort?
#!/usr/bin/perl print "Please enter trace file name" $tracefilename = <STDIN>; chomp $tracefilename; print "Please enter agent extension" $agentextension = <STDIN>; chomp $agentextension; print "Please enter time" $time = <STDIN>; chomp $time; open (THATFILE, "$tracefilename") || die "cannot open $tracefilename: $!"; foreach $line (@lines) { # now I'm stuck!!!
Edit 2001-03-12 by tye to add <code> tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: How do you store a line of info from a file that you later need to sort?
by Dragonfly (Priest) on Mar 12, 2001 at 23:52 UTC |