Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1001342]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-03-19 04:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found