Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Core module: Attribute::Handlers behaviour

by BrowserUk (Pope)
on Oct 20, 2012 at 16:20 UTC ( #1000139=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package junk;
    
    ...
    sub END {  printf "Hi from %s END\n", __PACKAGE__ }
    
    1;
    
  2. or download this
    #! perl -slw
    use strict;
    ...
    eval "use junk";
    
    print "Main runtime: Just eval'd use junk"; <STDIN>;
    
  3. or download this
    C:\test>junk
    Main runtime: About to eval use junk
    ...
    Main runtime: Just eval'd use junk
    
    Hi from junk END
    
  4. or download this
    package junk;
    use Attribute::Handlers;
    ...
    1;
    
    
  5. or download this
    #! perl -slw
    use strict;
    ...
    
    junk::doStuff( 1..10 );
    
  6. or download this
    C:\test>junk
    Main runtime: About to eval use junk
    ...
    junk.pm(16) called with [1 2 3 4 5 6 7 8 9 10]
    junk::doStuff says hi
    junk.pm(16): returning [ 1 ]
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (13)
As of 2015-07-07 22:42 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 (93 votes), past polls