Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 perusing the Monastery: (8)
As of 2014-08-28 02:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (255 votes), past polls