Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: overview/tutorial on packages - creation and use

by shmem (Chancellor)
on Apr 21, 2007 at 20:11 UTC ( [id://611315]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # file foo
    our $foo = 'hello world!';
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
    no $foo
    $foo defined
    hello world!
    
  3. or download this
    #!/usr/bin/perl
    use strict;
    ...
    print "no \$foo" unless defined $main::{foo};
    require 'foo'; # or do 'foo'
    print $main::foo;
    

Log In?
Username:
Password:

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

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

    No recent polls found