Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Mystery character in hash key name

by fiddler42 (Beadle)
on Sep 08, 2009 at 20:01 UTC ( [id://794211]=note: print w/replies, xml ) Need Help??


in reply to Re: Mystery character in hash key name
in thread Mystery character in hash key name

Hi,

That was it! This works:-

foreach (keys %NewRFactorAverageHash) { $RScale = $NewRFactorAverageHash{$_}; $F = 0; $BBEL = 0; $AR = 0; $VL = 0; print ("original key is $_\n"); @LaL = split (/$;/, $_); print ("new key is @LaL\n"); }

BTW, notice I replaced "new key is $LaL" with "new key is @LaL"...the original post was a typo.

Thanks again!

-Fiddler42

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2024-04-19 00:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found