Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Variable to point to library?

by bradcathey (Prior)
on Jul 10, 2004 at 20:45 UTC ( [id://373398]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -T
    
    use lib "/home/username/www/perllib";
    use Validate;   #little module for validating form input
    etc.
    
  2. or download this
    #!/usr/bin/perl -T
    
    my $pathtolib = &opentextfile;
    use lib $pathtolib;
    
  3. or download this
    #!/usr/bin/perl -T
    
    my $pathtolib = &opentextfile;
    eval(use lib $pathtolib);
    

Log In?
Username:
Password:

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

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

    No recent polls found