Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: "Correct" program style questions

by Ovid (Cardinal)
on Oct 23, 2002 at 19:00 UTC ( #207494=note: print w/ replies, xml ) Need Help??


in reply to Re: "Correct" program style questions
in thread "Correct" program style questions

joe++ wrote: I know, [not importing anything] isn't going to work with HTML::Entities....

Actually, it can work with HTML::Entities. Merely specify an empty import list and fully qualify the function name.

use HTML::Entities (); HTML::Entities::encode_entities( $name );

Alternatively, you could simply require HTML::Entities and not call the import method.

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.


Comment on Re: Re: "Correct" program style questions
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (13)
As of 2014-07-29 14:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (218 votes), past polls