Is it possible to use a variable for a file handle.
EX.
sub printReport($handle,@array,$arraySize){
for ($i=0;$i<$arraySize;$i++){
print ($handle "$array[$i]\n");
}#end for
}#end sub printReport
I am using the Parallel:ForkManager to multi-thread some of the processes I need to run very quickly on many machines. Unfortunately, after specifying the max number of threads the script is not coming even close to the max. Is there something i can add to the script to force it to create more...
I have created a script that takes a machine||ip list and then checks to see if particular patches have been installed. Unfortunately, the script currenly is linear. I am wanting to speed up the process by running the query against multiple machines without waiting on a previous machine to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.