Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 scrutinizing the Monastery: (17)
As of 2015-07-29 12:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls