Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Determining the fully qualified name of a global variable.

by clueless newbie (Curate)
on Jan 25, 2013 at 19:31 UTC ( [id://1015394]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Globals;
    
    use Exporter;
    ...
    %var=(hash=>1);
    
         1;
    
  2. or download this
    package Globals_A;
    
    
    ...
    
        1
    __END__
    
  3. or download this
    package Globals_H;
    
    use Exporter;
    ...
    
        1
    __END__
    
  4. or download this
    package Globals_S;
    
    ...
    
        1
    __END__
    
  5. or download this
    #!/usr/bin/perl
    
    ...
    
    
    exit;
    
  6. or download this
    package Xyzzy;
    
    ...
                 };
             };
    __END__
    
  7. or download this
    passing refs:
    &FullyQualify is Xyzzy::FullyQualify.
    ...
    'Var' is $Globals::Var
    'var' is %Globals_H::var @Globals_A::var $Globals_S::var?
    'Globals::var' is %Globals_H::var @Globals_A::var $Globals_S::var?
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-19 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found