perl - getting a value from a map where the key has a dot

Posted by imerez on Stack Overflow See other posts from Stack Overflow or by imerez
Published on 2010-04-15T17:09:48Z Indexed on 2010/04/15 17:13 UTC
Read the original article Hit count: 197

Filed under:
|
|

I have a map in perl which has been dumped into from some legacy code the name of the key has now changed from simply reqHdrs to reqHdrs.bla

$rec->{reqHdrs.bla}

My problem is now I cant seem to access this field from the map any ideas ? The following is my error

Download Script Output: Bareword "reqHdrs" not allowed while "strict subs" in use

© Stack Overflow or respective owner

Related posts about perl

Related posts about hashmaps