Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Hash statement problem.

by AnomalousMonk (Abbot)
on Mar 12, 2013 at 01:13 UTC ( #1022910=note: print w/ replies, xml ) Need Help??


in reply to Hash statement problem.

The usage you show is a xenomorph that escaped into the general population a long time ago and was finally hunted down and extirpated somewhere between 5.8.9 and 5.10.1. It did not reproduce, so you can relax.

>perl -wMstrict -MData::Dump -le "print $]; ;; my $self = { qw(rxml rxml_i_am rxml_ob rxml_ob_it_is) }; dd $self; ;; my( $rxml, $ob ) = @{%$self}{qw/rxml rxml_ob/}; print qq{'$rxml' '$ob'}; " 5.008009 { rxml => "rxml_i_am", rxml_ob => "rxml_ob_it_is" } 'rxml_i_am' 'rxml_ob_it_is'
>perl -wMstrict -MData::Dump -le "print $]; ;; my $self = { qw(rxml rxml_i_am rxml_ob rxml_ob_it_is) }; dd $self; ;; my( $rxml, $ob ) = @{%$self}{qw/rxml rxml_ob/}; print qq{'$rxml' '$ob'}; " 5.010001 { rxml => "rxml_i_am", rxml_ob => "rxml_ob_it_is" } Can't use string ("2/8") as a HASH ref while "strict refs" in use at - +e line 1.


Comment on Re: Hash statement problem.
Select or Download Code
Re^2: Hash statement problem.
by huchister (Acolyte) on Mar 12, 2013 at 15:03 UTC
    Superb! Thank you for clarify my problem.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2014-09-20 06:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (155 votes), past polls