Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
more useful options
 
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 about the Monastery: (17)
As of 2014-04-23 18:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (552 votes), past polls