Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
more useful options
 
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 drinking their drinks and smoking their pipes about the Monastery: (15)
As of 2014-04-24 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (565 votes), past polls