Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: Can I from within a module access variables from the calling program?

by Anonymous Monk
on Oct 29, 2012 at 10:47 UTC ( #1001342=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ dir /b
    shabba.pl
    
    ...
    2012/10/29 03:49:10 shabba.pl 87> (Bar.Mars) YAM NEWLINE
    Mars mjam
    
  2. or download this
    #!/usr/bin/perl --
    use Path::Class;
    use constant THISFILE => file( __FILE__ )->absolute->stringify;
    ...
        use Log::Log4perl qw(:easy);
        sub eat { INFO("Mars mjam");INFO("YAM NEWLINE\nMars mjam"); }
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2014-12-29 17:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (194 votes), past polls