in reply to Re^2: PERL and MS-SQL Server 2000
in thread PERL and MS-SQL Server 2000

all true, but such hard-coding of paths isn't good.

You will have problems running this script elsewhere.

Much better to find another way of supplying that ENV variable: helper .BAT, or real environment change, or finding installation path via registry, or whatever.

Replies are listed 'Best First'.
Re^4: PERL and MS-SQL Server 2000
by jfroebe (Parson) on Apr 17, 2006 at 19:14 UTC

    It depends on the scenerio. If the environment is a cookie cutter like situation where the servers all look alike, then there really isn't much danger. Deviate from the cookie cutter environment, then a more flexible solution is needed.

    Jason L. Froebe

    Team Sybase member

    No one has seen what you have seen, and until that happens, we're all going to think that you're nuts. - Jack O'Neil, Stargate SG-1