Re: $_
From: James Edward Gray II (james_at_grayproductions.net)
Date: 12/30/03
- Next message: Eric Walker: "RE: $_"
- Previous message: Dan Muey: "RE: $_"
- In reply to: Eric Walker: "Re: $_"
- Next in thread: Eric Walker: "Re: $_"
- Reply: Eric Walker: "Re: $_"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Dec 2003 10:53:51 -0600 To: Eric Walker <ewalker@micron.com>
On Dec 30, 2003, at 10:45 AM, Eric Walker wrote:
> The lines will always be defined but I need to process that previous
> line. I am still kinda in the closet on what you mean.
my $current = $_;
# process $current here...
Other choices: If file size isn't an issue, just slurp the whole think
into an array and use indexing. If it is, use Tie::File.
Good luck.
James
- Next message: Eric Walker: "RE: $_"
- Previous message: Dan Muey: "RE: $_"
- In reply to: Eric Walker: "Re: $_"
- Next in thread: Eric Walker: "Re: $_"
- Reply: Eric Walker: "Re: $_"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
Loading