in reply to Re: Re: Re: How to handle Cross-platform Perl, modules, and versioning
in thread How to handle Cross-platform Perl, modules, and versioning

@ENV? What's that array going to do?

Also, there's no point in making a BEGIN block that contains just a lone use statement. A use statement is already executed as soon as it's compiled - putting a BEGIN around it isn't going to speed it up - it won't execute it before it's compiled.

Abigail

Replies are listed 'Best First'.
Re: Re: How to handle Cross-platform Perl, modules, and versioning
by BrowserUk (Patriarch) on Apr 15, 2003 at 22:28 UTC

    s/@ENV/@INC/. I said it was untested:)...corrected. Thanks.

    With regard to the use of the BEGIN block, in truth, the OP was using BEGIN{} so it didn't cross my mind to change that.


    Examine what is said, not who speaks.
    1) When a distinguished but elderly scientist states that something is possible, he is almost certainly right. When he states that something is impossible, he is very probably wrong.
    2) The only way of discovering the limits of the possible is to venture a little way past them into the impossible
    3) Any sufficiently advanced technology is indistinguishable from magic.
    Arthur C. Clarke.