Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: hash assignment wierdness

by logie17 (Friar)
on Apr 20, 2007 at 15:56 UTC ( [id://611190]=note: print w/replies, xml ) Need Help??


in reply to hash assignment wierdness

Well what's interesting is if you use strict/warnings the following error message appears on line 13:
Odd number of elements in hash assignment at ./test1.pl line 13. Use of uninitialized value in list assignment at ./test1.pl line 13.

Normally you don't assign a %hash one value but a key/value pair.
s;;5776?12321=10609$d=9409:12100$xx;;s;(\d*);push @_,$1;eg;map{print chr(sqrt($_))."\n"} @_;

Log In?
Username:
Password:

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

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

    No recent polls found