Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

When aliasing sub arguments to @_ elements, PADTMP, READONLY flags are copied inconsistently

by vr (Curate)
on Jan 17, 2020 at 23:38 UTC ( [id://11111560]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    pack 'P', pack 'P', $data
    
  2. or download this
    sub foo { pack 'P', $_[0] } foo pack 'P', $data;
    
  3. or download this
    >perl -MDevel::Peek -we "Dump 1; sub foo{Dump $_[0];$_[0]=1} foo(1)"
    SV = IV(0x653478) at 0x653488
    ...
      REFCNT = 1
      FLAGS = (IOK,pIOK)
      IV = 2
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11111560]
Approved by GrandFather
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-26 00:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found