Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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
Replies are listed 'Best First'.
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 cooling their heels in the Monastery: (8)
As of 2015-08-01 00:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (285 votes), past polls