Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re2: Clone - clone Vs Storable - dclone

by UnderMine (Friar)
on Mar 25, 2003 at 11:40 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-25 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found