Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 browsing the Monastery: (11)
As of 2015-07-31 05:12 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 (274 votes), past polls