* Hans Hagen <[EMAIL PROTECTED]> [Jun 01, 2004 21:30]:
> if ($ENV["TEMP"] && -e $ENV["TEMP"]) {
> $RunPath = $ENV["TEMP"] ;
> } elsif ($ENV["TMP"] && -e $ENV["TMP"]) {
> $RunPath = $ENV["TMP"] ;
> }
Just checking, aren't the []'s supposed to be {}'s. $ENV is a hash and
this is Perl, so that's the proper way to do it right? I know you use
Ruby as well, so my guess is that you transposed Rubyisms onto Perl?
nikolai
--
::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden :::
::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context