startup.pl has this:

        use MyConfig::ServerLayout;

and then:

        package MyConfig::ServerLayout;

        my      $_environment= $ENV{'SERVER_TYPE'};
        if ( !defined $_environment ) {
                die "ERROR! You MUST define SERVER_TYPE in \$ENV !";
        }

that will never trip, even if $_environment is set to undef , and i'm hitting up STDERR explicitly. no die i put in there will halt the startup - conditional or not. i also tried begin blocks.

the docs don't suggest anything to me.

the only thing i can think of is this:

the code is only executed on the implicit restart at startup, with no stderr , so the die message never prints to stderr or elsewhere.
        but if thats the case, it should halt.  instead it keeps going.





// Jonathan Vanasco

| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| SyndiClick.com
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|      FindMeOn.com - The cure for Multiple Web Personality Disorder
|      Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|      RoadSound.com - Tools For Bands, Stuff For Fans
|      Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


Reply via email to