Any ideas are appreciated.
Is it possible to run iwextattr from within a perl script? I currently have a perl script generating dcr's and want to run iwextattr automatically on all the dcr's created by the perl script , but am not sure what would be the best way to do this.Any ideas are appreciated.
Any CLT can run thru perl script just as you can run a system/UNIX command from the same.`$cmd 2>&1` where $cmd is the complete command to be executed.
The syntax that kaalraa provided will return any errors to STDOUT, so you may want to capture that and proceed appropriately if there is an error.Dave
my $results = qx($cmd 2>&1);
'
`
[size=2]No chance here! I code in Wingdings. A single quote for me is a guy with a Mets cap and a backtick is a deer crossing sign. Not much opportunity to confuse those two![/size]