All good information. The %ENV hash I totally overlooked. I remember reading it a year or so ago in Learning Perl and thinking "I won't need that for a while." I was right, but now that I needed it...
For the record, a simple...
...worked just fine.my $display = $ARGV[0]; $ENV{'DISPLAY'} = $display . ":0.0";
In reply to Re: Re: shell variables with Perl
by GaijinPunch
in thread shell variables with Perl
by GaijinPunch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |