in reply to Re^2: Run system command in same context of the script itself
in thread Run system command in same context of the script itself
use v5.12.0; use warnings; $ENV{BLA} = "YOU ARE MISTAKEN"; system('echo %BLA%'); # $BLA for linux,et al
> perl.exe -w d:/Perl/pm/t_system.pl YOU ARE MISTAKEN
Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Run system command in same context of the script itself
by igorle (Initiate) on Apr 13, 2023 at 07:30 UTC |