Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: "Correct" program style questions

by Ovid (Cardinal)
on Oct 23, 2002 at 19:00 UTC ( [id://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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-24 18:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found