Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: USE or Require?

by perrin (Chancellor)
on Jul 23, 2003 at 02:37 UTC ( #276997=note: print w/replies, xml ) Need Help??


in reply to USE or Require?

If your goal was to talk about importing, you shouldn't have brought use and require into it. The preferred way of loading modules in Perl 5 is use and if you don't want to import anything you just say use CGI (), with an empty list as the last parameter. It only makes sense to use require when you are loading the module at run-time.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2022-01-24 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (64 votes). Check out past polls.

    Notices?