Comments on this suggestion
From: B McKee (binlinux_at_hotmail.com)
Date: 04/27/04
- Next message: Christopher Lyon: "RE: perl mysql question"
- Previous message: John: "RE: Why Perl"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 27 Apr 2004 11:00:57 -0400 To: beginners@perl.org
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
- Next message: Christopher Lyon: "RE: perl mysql question"
- Previous message: John: "RE: Why Perl"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|