See "perldoc Exporter". If you use @EXPORT instead of @EXPORT_OK, it will put those subroutines into the global namespace by default.

On Jul 20, 2006, at 3:09 AM, Shane Calimlim wrote:

I'd like to add some sub routines to the global namespace. I know this is usually considered bad design for modules, but I intend to do this only for a personal project. I'd just like to know if this is possible, and how.
And if so, using pure perl code or would I have to delve into xs?


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to