For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > April 2004 > Comments on this suggestion









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Comments on this suggestion
B McKee

2004-04-27, 12:56 pm

I tripped over this chunk of code today -

> #!/usr/bin/perl -w
>
> BEGIN {
> use File::Basename;
> unshift @INC, dirname($0);
> }
> use strict;
> use module_whatever;
> ...



if I'm reading this right it would let
you include a required module your users
may or may not have with your own script.
No installation required.

Is there a drawback to this approach?

Brian

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com