Getting output from DBI->do()

2004-09-29 Thread ashish srivastava
Hi, I have a script that tries to compile all the invalid objects in a Oracle db. How do i know whether the compile was successful or NOT? i.e. if an object dosent compile i shud display : "Warning: Package Body altered with compilation errors." or if it does, "Package body altered" i.e. (output

Snort Simulator

2004-09-29 Thread Kamal Ahmed
Hi List,   I have the following perl script that generates CheckPoint Alerts, and I want to transform it so it will generate ALL Types of Snort Alerts. Can someone guide me in the right direction ? I am a beginner in perl, and you are the experts.   Thanks in advance,   -Kamal.   #!/usr/bi

Re: AdminMisc::GetFileInfo gives different info than Windows explorer

2004-09-29 Thread Sisyphus
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Conrad Sent: Wednesday, September 29, 2004 11:18 AM To: perl-win32-users Subject: AdminMisc::GetFileInfo gives different info than Windows explorer Folks, I'm writing a script to find gdiplus.dll files th

Re: Perl OO

2004-09-29 Thread Eric Amick
On Wed, 29 Sep 2004 12:05:07 -0700, you wrote: >I forgot, the following error occurs when strict is used "Can't use >string ("Transmitter") as a HASH ref while "strict refs" in use at" > >Transmitter is the OO Perl Module being called. The problem is this line in the code that calls your module:

RE: Perl OO

2004-09-29 Thread Charles K. Clarkson
In separate messages, Bharucha, Nikhil <[EMAIL PROTECTED]> top-posted: : [snip] : sub send : { : my $self = shift; : print "\nIn send self is $self"; : my $process; : $process = $self->writePrefs(); : $process = $self->batchTransmitter("+XMIT"); : } : [snip] Methods th

RE: Perl OO

2004-09-29 Thread Bharucha, Nikhil
I forgot, the following error occurs when strict is used “Can't use string ("Transmitter") as a HASH ref while "strict refs" in use at”   Transmitter is the OO Perl Module being called.   -Original Message- From: Bharucha, Nikhil Sent: Wednesday, September 29, 2004 1:42 PM To:

RE: AdminMisc::GetFileInfo gives different info than Windows explorer

2004-09-29 Thread Steven Manross
I'm guessing here, but I think you are looking at the difference between: ---> FileVersion - and - ---> ProductVersion. HTH Steven -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Conrad Sent: Wednesday, September 29, 2004 11:18 AM To: perl-win32

RE: Perl OO

2004-09-29 Thread Bharucha, Nikhil
Very good point.  I have attached the OO code first and the calling code below.  The bolded code is where it dies at.   ### Constructor ### sub new {     my ($proto,%args) = @_;     my $class = ref($proto) || $proto;     my $objRef =     {  

AdminMisc::GetFileInfo gives different info than Windows explorer

2004-09-29 Thread Ben Conrad
Folks, I'm writing a script to find gdiplus.dll files that may be vulnerable to the microsoft GDI+ bug. When I use: Win32::AdminMisc::GetFileInfo($filename, \%Info); print "- $Info{ProductVersion}\n"; -or- print "- $Info{FileVersion}\n"; I get version 5.1.3102.2180 But if I look at the file pr

RE: Perl OO

2004-09-29 Thread Wagner, David --- Senior Programmer Analyst --- WGO
    For anyone to help, we will need to see a snippet of code to get an idea otherwise I don't think you will get a lot of help. Give the group something to work with.   Wags ;) -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Bharucha, NikhilSent: Wedn

Perl OO

2004-09-29 Thread Bharucha, Nikhil
I am taking a stab at writing an OO Perl Module.  The constructor sets a to a hash I pass to it.  Problem is when I call a method after the new method and attempt to retrieve the contents of the hash I get nothing.  I know my spelling of the hash variable is not off so it’s not simply that

RE: XML Twig - perl

2004-09-29 Thread Thomas, Mark - BLS CTR
Bhuvana, XML questions are best asked on the perl-XML list. Many Twig users frequent that list (even the author chimes in from time to time). I'm not all that familiar with Twig, so what I can do is give you working XML::LibXML code: my $doc = XML::LibXML->new->parse_file($ARGV[0]); my @dl_nodes

how to use fx2txt($status)

2004-09-29 Thread Jutu Subramanian, Srinivasan (Cognizant)
Title: how to use fx2txt($status) Hi, Anybody know how to use the fx2txt($status) and any sample program. (sample example along with put, Net::SFTP connection) and how to read the sftp status and code? regards Srinivasan.JS This e-mail and any files transmitted with it are for the so