On Fri, 13 Dec 2013 10:01:13 -0500
Uri Guttman <u...@stemsystems.com> wrote:

> > open my $fh, "<", "fullhost.txt" or die $!;
> > while (<$fh>) {  
> 
> while( my $line = <$fh> ) {
> >      chomp;

    chomp $line;

> >      my $line = $_;  
> 
> no need to copy $_ as the while did it.


-- 
Don't stop where the ink does.
        Shawn

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to