Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: Re: Re: Hash references and illegal octal digits

by Mr. Muskrat (Canon)
on Dec 24, 2002 at 20:12 UTC ( #222132=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Hash references and illegal octal digits
in thread Hash references and illegal octal digits

Just ensure that there is something after the comma... even if it is a space.
If you have no control over the data then perhaps try something like this:
my %hash = map { s/,\n/, \n/; chomp; split /,/ } @array;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (1)
As of 2021-06-19 06:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (91 votes). Check out past polls.

    Notices?