Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: Re: Re: Re: use and performance

by perrin (Chancellor)
on Jun 11, 2003 at 03:49 UTC ( [id://264950]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: use and performance
in thread use and performance

Are you talking about this kind of usage?

use Class::Struct CLASS_NAME => [ ELEMENT_NAME => ELEMENT_TYPE, ... ];
You can't skip that call to import, or your struct class would not get created.

Anyway, if you don't want to import anything you can just call use with an empty list. This is common in mod_perl:

use CGI ();

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-19 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found