Re: Setting PATH within a Perl Script

From: Mintcake (tony_at_skelding.co.uk)
Date: 02/28/05

  • Next message: al2048_at_aol.com: "Questions about Perl for Windows"
    Date: 28 Feb 2005 13:18:54 -0800
    
    

    Manzoorul Hassan wrote:
    > Isn't there a simple way to add a dir to my PATH env? Seems like all
    > the examples I've seen so far all in one way or another is parsing
    the
    > current PATH and puts it all together, including the new dir.
    >
    > Isn't there a simpler version of this whole process?
    >
    > - manzoor

    You want something simpler than...

    $ENV{PATH} .= ":$dir";

    ???


  • Next message: al2048_at_aol.com: "Questions about Perl for Windows"