Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: trouble with substitution

by InfiniteSilence (Curate)
on Jan 19, 2012 at 04:04 UTC ( #948670=note: print w/ replies, xml ) Need Help??


in reply to trouble with substitution

perl -e 'my %hash=(q|a|=>100,q|b|=>300); use Data::Dumper; my $obj = D +ata::Dumper->new([\%hash],[qw|foo|]); print $obj->Dump();' $foo = { 'a' => 100, 'b' => 300

Maybe stop putting $VAR in the output in the first place?

Celebrate Intellectual Diversity


Comment on Re: trouble with substitution
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2014-09-23 08:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (211 votes), past polls