Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 chanting in the Monastery: (4)
As of 2014-10-26 08:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (152 votes), past polls