Syntactic Confectionery Delight | |
PerlMonks |
Re: Re: Re: Removing blank lines from arrayby Sweeper (Pilgrim) |
on Feb 28, 2002 at 20:47 UTC ( [id://148371]=note: print w/replies, xml ) | Need Help?? |
I am intrigued greatly by jjohns solution to my problem but i dont't understand when he set up his while
loop using
while(my $line = )the loop has no condition, won't that give you an error I guess it was a typo. The proper line would read: while(my $line = <READ>)Maybe jjohn forgot to type the angle brackets as ampersand HTML entities (< and >), he just typed the single characters, and your HTML renderer has considered it was a tag, and an invalide one, and discarded it.
In Section
Seekers of Perl Wisdom
|
|