Re: $_

From: James Edward Gray II (james_at_grayproductions.net)
Date: 12/30/03


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



Relevant Pages

  • RE: $_
    ... I am still kinda in the closet on what you mean. ... >> Instead of seeing b when I enter the while loop, ...
    (perl.beginners)
  • Re: Speaking of flutes
    ... kinda like that morbid curiosity that makes you look at the gruesome ... I found some snacks for you and hid them in your closet. ...
    (rec.games.computer.ultima.dragons)
  • Re: Removing Partitions
    ... You move some of the accumulated stuff to the larger partition. ... Kinda like ... when your old lady fills a closet, then she has you move some to the attic ... > I am getting 'low disk space' messages on my computer. ...
    (microsoft.public.windowsxp.newusers)

Loading