Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Re: Removing blank lines from array

by Sweeper (Pilgrim)
on Feb 28, 2002 at 20:47 UTC ( [id://148371]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Removing blank lines from array
in thread Removing blank lines from array

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 (&lt; and &gt;), he just typed the single characters, and your HTML renderer has considered it was a tag, and an invalide one, and discarded it.
  • Comment on Re: Re: Re: Removing blank lines from array

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://148371]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-19 23:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found