Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re2: Clone - clone Vs Storable - dclone

by UnderMine (Friar)
on Mar 25, 2003 at 11:40 UTC ( #245652=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -e 'use Clone qw(clone); $a = \$b; undef $a; $c = clone $a;'
    
  2. or download this
    perl -e 'use Clone qw(clone); $a ={}; undef $a; $c = clone $a;'
    
  3. or download this
    perl -e 'use Clone qw(clone); undef $a; $c = clone $a;'
    
  4. or download this
    perl -e 'use Clone qw(clone); $a =""; undef $a; $c = clone $a;'
    
  5. or download this
    perl -MClone=clone  -le '%a=(chr 256 =>1);$c=clone \%a; print ord fore
    +ach keys %$c'
    196
    
  6. or download this
    perl -MStorable=dclone  -le '%a=(chr 256 =>1);$c=dclone \%a; print ord
    + foreach keys %$c'
    256
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2021-12-01 15:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (13 votes). Check out past polls.

    Notices?