Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

symbols, scope, and mod_perl

by acanfora (Novice)
on Oct 01, 2012 at 08:10 UTC ( #996605=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package EXAMPLE;
    use strict;
    ...
    sub my_example_method{
            print "hi, I am here!";
    }
    
  2. or download this
    #!/usr/bin/perl
    use lib '/path/to/whateveryoulike';
    use EXAMPLE;
    
    $my_dirt_sneaky_object_reference->my_example_method;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://996605]
Approved by Corion
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: (10)
As of 2014-12-26 12:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (171 votes), past polls