-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, September 2, 2005 07:01, Jay Hannah wrote:<br/>
&gt; Actually, I wouldn't 'use Env' at all. That's just a
&quot;shortcut&quot; for<br/>
&gt; Perl's built-in %ENV. I'd do this:<br/>
&gt; <br/>
&gt; #!/usr/bin/perl -w<br/>
&gt; <br/>
&gt; $ENV{Var1} ||= &quot;DefaultValue1&quot;;<br/>
&gt; $ENV{Var2} ||= &quot;DefaultValue2&quot;;<br/>
&gt; my $Var3 = &quot;$ENV{Var1} -- $ENV{Var2}&quot;;<br/>
<br/>
Since the &quot;||&quot; operator is more well known with my team, I ended
up using this:<br/>
my $Var1 = $Env{Var1} || &quot;DefaultValue1&quot;;<br/>
<br/>
Dan<br/>
<br/>
- - - - -<br/>
&quot;Wait for that wisest of all counselors, time.&quot; -- Pericles<br/>
&quot;I do not fear computer, I fear the lack of them.&quot; -- Isaac
Asimov<br/>
GPG fingerprint:6FFD DB94 7B96 0FD8 EADF  2EE0 B2B0 CC47 4FDE 9B68

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDGH7hsrDMR0/em2gRAr6UAKCmiSml7lQc2jIf3lFTNkF+U9H3nQCgrvsU
j+IxGQzJp4qgp//cYiPXRaA=
=Hegb
-----END PGP SIGNATURE-----