Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: Creating "Lexical" Symbol Table Aliases (a la "use vars") From The Same Package

by Anonymous Monk
on May 09, 2014 at 11:29 UTC ( #1085573=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -e "use Devel::Peek; use strict; BEGIN{*main::foo=\@main::foo; 
    +Dump(\@main::foo)};  print @foo; "
    SV = IV(0xac90b0) at 0xac90b4
    ...
        MAX = -1
        ARYLEN = 0x0
        FLAGS = (REAL)
    
  2. or download this
    $ perl -e "use Devel::Peek; use strict; BEGIN{*main::foo=\@main::foo; 
    +Dump(*main::foo)};  print @foo; "
    SV = PVGV(0xa6ad1c) at 0x99b984
    ...
        FLAGS = 0x2a
        EGV = 0x99b994      "foo"
    
  3. or download this
    360 #define SVprv_PCS_IMPORTED  SVp_SCREAM  /* RV is a proxy for a con
    +stant
    361                                        subroutine in another packa
    +ge. Set the
    362                                        GvIMPORTED_CV_on() if it ne
    +eds to be
    363                                        expanded to a real GV */
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2018-11-15 10:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My code is most likely broken because:
















    Results (182 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!