in reply to Re: shell variables with Perl
in thread shell variables with Perl
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";
|
|---|