Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: trouble with substitution

by kejohm (Hermit)
on Jan 19, 2012 at 02:45 UTC ( [id://948659]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ...
    if ( $line =~ s/ \$VAR1/ my %hash / ) {
        ...
    }
    ...
    
  2. or download this
    my %hash = (...);
    $Data::Dumper::Varname = 'hash';
    print Dumper(\%hash);
    
  3. or download this
    my %hash = (...);
    print Data::Dumper->Dump( [\%hash], ['hash'] );
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-23 22:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found