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

Re^2: read file into 1 line string

by nemesdani (Friar)
on Apr 21, 2012 at 12:55 UTC ( [id://966350]=note: print w/replies, xml ) Need Help??


in reply to Re: read file into 1 line string
in thread read file into 1 line string

I don't understand one thing: Why do you specify an elsif? Wouldn't a plain elsebe sufficient?


I'm too lazy to be proud of being impatient.

Replies are listed 'Best First'.
Re^3: read file into 1 line string
by tommyxd (Acolyte) on Apr 21, 2012 at 13:11 UTC

    It would be totally sufficient.

    Another thing I don't get is why even check for empty string? How is that relevant?

Log In?
Username:
Password:

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

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

    No recent polls found