> Isn't it an error to write an "if" on a "my" (variable declaration line) > like the above
the "error" you're talking about is the my $x if 0; ism that causes localization problems in some instances. http://perl.com/pub/a/2000/05/p5pdigest/THISWEEK-20000521.html#my_x_if_0;_Trick I doubt it would cause problems in this case since the variable in question is examined only once - there are no future invocations where it might collide. but maybe it's bad form nonetheless. 'our' scope is probably sufficient in addition to the fix you suggest, but only if it's really bugging you :) --Geoff --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
