Some additional information:
It appears that the post job doesn't run if the system cancels out, but will if it completes normally. The switch for 'run if job fails' is checked. Does veritas differentiate between Fail and Cancel?
Thanks for any help.
Hello folks,
We've been trying to run post-processing jobs on v8.5, 8.6, and 9.0. We've had intermittent success. The systems don't seem to care whether we call our exe from a batch or directly. In v9.0 it doesn't even appear to attempt to process, in v8.6 and below it appears to run, but works...
I've tried it as a hash, array, and string.
The hash key comes across as simply '1', but the value comes out as ARAAY(0x#######).
my $doc = Win32::OLE->GetObject($_);
Where $_ is the full path and name of the excel spreadsheet.
Hello folks,
The office is moving a few HUNDRED Excel spreadsheets from one file server to another. Most, if not all of these sheets have links to other spreadsheets, sometimes hundreds of links. The links all include the server name, format=
\\<NTServer>\file\path\to\Excel.xls
We are moving...
Hello folks, this one SHOULD be simple, but I'm being dense:
The code:
use Win32::NetAdmin;
my @lou;
Win32::NetAdmin::LoggedOnUsers('',@lou);
print @lou;
The result:
Usage: Win32::NetAdmin::LoggedOnUsers(server, $userRef)
The question:
What am I doing wrong? Other than working in Win32...
I...
I considered just ignoring the whitespace, but the regex for finding a match doesn't catch, ever, regardless of what I try to find.
I'm going to try parsing the file with some of the XML parsing tools...<sigh> now I have to start asking about hashes. :)
Point. :) Unfortunately, correcting my obvious, glaring error, I now have no extraneous spaces, but I still have spaces between each letter. My test output now reads llike this:
■< ? x m l v e r s i o n = " 1 . 0 " e n c o d i n g = " U T F - 1 6 " ? >
83...
Yeah, did that one too- Here's where I am, thinking wise:
open(BENT, "< path to xml file") || print "cannot open";
binmode BENT; #Tried with and w/o this
@belog=<BENT>;
close BENT;
$test = $belog[0];
print $test; #prints fine
print length($test); #83 characters length
$test...
I tried that one...no joy.
Best luck I've hand so far is
$line =~ s/\s+//g;
Which works in testing; I dredge this from a search:
$t=" test test ";
print $t;
s/^\s+//, s/\s+$// for $t;
print "\n";
print '|'."$t".'|';
I tweaked it a hair to: $t =~ s/\s+//g; and...
Should be simple, I'm just an idiot.
I have a file I'm trying read, no problems there.
I dump it into an array and skim through line by line, no problem there.
I try to match an expression to the line- not _usually_ a problem there.
The issue is, the lines have spaces between each character...
Short answer- You are building a perl compiler into the program. It's smaller than installing the entire compiler with bells and whistles.
Longer answer- It needs all those dll's to process the application. If you want it smaller, reduce the number of modules you need. I dropped Net::FTP from...
I've used Win32::GuiTest extensively at work for an after-hours process automation. The hard part is selecting which window you want. Straight from ASPN module documentation:
use Win32::GuiTest qw(FindWindowLike GetWindowText
SetForegroundWindow SendKeys);
$Win32::GuiTest::debug = 0...
Personally I use the modules:
use Win32::EventLog;
use Win32::SystemInfo;
use Win32::DriveInfo;
to poll my NT/2K/XP boxes.
I can't get real processor usage directly, but I use MRTG for that, so it's no big deal. I use the rest for those boxes that aren't on a permanent link, they upload a log...
PaulTEG- I've tried working with flock under NT in the past. I do believe that's where its going to stay. The implementation is horrible and not at all useful as far as my limited understanding goes. Until I convince TPTB to migrate to Linux boxes (which will be right after porcine bodies...
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.