[Edinburgh-pm] @INC and do EXPR use
asmith9983 at gmail.com
asmith9983 at gmail.com
Wed Oct 17 23:02:06 PDT 2007
Hi Murray
I nievely thought it was simply a matter of replacing the word "do" with
"use"!!
Since I've now got "do" working properly working alongside
@INC=$ENV{HOME}."/lib" line, I might leave it alone and get stuck into
something
else like "Perl/TK".
Thnx
--
Andrew
On Tue, 16 Oct 2007, Murray wrote:
> http://search.cpan.org/search?query=FindBin
>
> or setting the PERL5LIB environment variable.
>
> also "perldoc -f do" sayeth:
>
> Note that inclusion of library modules is better done with the "use"
> and "require" operators, which also do automatic error checking and
> raise an exception if there's a problem.
>
> I believe "use" is generally preferable over "require".
> _______________________________________________
> Edinburgh-pm mailing list
> Edinburgh-pm at pm.org
> http://mail.pm.org/mailman/listinfo/edinburgh-pm
>
More information about the Edinburgh-pm
mailing list