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

PetaMem's scratchpad

by PetaMem (Priest)
on Jun 01, 2004 at 19:03 UTC ( #358403=scratchpad: print w/ replies, xml ) Need Help??

use strict; use warnings; use Storable qw(dclone); use Data::Dumper; my $str = "Rico"; $str =~ m{(?<name>ico)}xms; my $match = dclone \%+; print Dumper($match); $str =~ m{(?<buba>R)}xms; my $match2 = dclone \%+; print Dumper($match); print Dumper($match2); # Why are $match and $match2 identical? I'd expect $match to keep its old value.
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2014-09-16 19:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (45 votes), past polls