Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: splitting directly to hash

by themage (Friar)
on Nov 22, 2006 at 10:26 UTC ( [id://585477]=note: print w/replies, xml ) Need Help??


in reply to Re^2: splitting directly to hash
in thread splitting directly to hash

That's not true if the value have a final space as in the string presented by narashima.

Replies are listed 'Best First'.
Re^4: splitting directly to hash
by johngg (Canon) on Nov 22, 2006 at 10:47 UTC
    Granted, if there is a trailing space then you will not get the warning. Semantically though, neither do you have a space separated format if you have a trailing space. Or it is a space separated format with a NULL last element. To my mind, whenever you have a something separated list, number of items plus number of separators is always odd. I'm not sure you could read too much into narashima's formatting given that no code was shown or <code> tags used.

    Cheers,

    JohnGG

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-20 03:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found