go ahead... be a heretic | |
PerlMonks |
Re^2: converting libraries into modulesby Courage (Parson) |
on Mar 05, 2006 at 18:00 UTC ( [id://534589]=note: print w/replies, xml ) | Need Help?? |
although using Exporter is suggested by, say, h2xs, I think using Exporter isn't a good habbit.
Its not good to pollute namespace. Using package::utilname(...); $utlobject->utl_method(...); is flexible enough and no real need to save few keystrokes by not pointing package name, and risking to have naming conflict later.... Also, extra dependency on Exporter, and many extra lines in your template to introduce Exporter, do not worth the effort.
Best regards,
In Section
Seekers of Perl Wisdom
|
|