Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

package/scope question

by pbradley (Initiate)
on Nov 16, 2001 at 21:13 UTC ( [id://125856]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package framework;
    use strict;
    ...
    {
         print $date;
    }
    
  2. or download this
    require "framework.pl";
    
    ...
    &framework::testcase1;
    $framework::date = "2001-11-15";
    &framework::testcase1;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://125856]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found