RE: Read Fixed width database

2004-01-07 Thread Moon, John
You may wish to take a look at this URL... http://www.perl.com/pub/a/2000/04/raceinfo.html It is a very good example of what you are trying to do (?) AND shows how to do it with a hash ... Hope it helps... jwm -Original Message- From: Lynn. Rickards [mailto:[EMAIL PROTECTED] Sent: Janu

Using perl to check an invalid link

2004-01-07 Thread mcg2
Hi all, On my website I want to check if a clicked link in still valid. If the link is invalid, I plan to write the invalid link to a file. Does anyone know if there is a URL utility, in PERL, that can be used to verify a link (without Netscape or Explorer infoming the user that the page is not

Re: Win32 PPT finding max value in range of embedded worksheet

2004-01-07 Thread Mike Jackson
you'd be better off searching the mskb or msdn for this - perl merely autoloads all the OLE functions it finds available - it doesn't have them remembered anywhere. you may find its something like ...->exec('Max(B3:O3)') or call or something odd like that.. remember that perl is case sensitive!

Re: Read Fixed width database

2004-01-07 Thread Rhesa Rozendaal
Chris wrote: Hi All! Is there an easy way (or module) to turn a flat fixed-width database into useful data? I would like to dump particular database fields into a hash. Tom Jones12345 Something Dr. Atlanta GA25467 JohnDoe 1704 Green Street Boston MA62481 Er

Problem with permissions and open2

2004-01-07 Thread Richard Morse
Hi! I have an application which runs perfectly from the command line as administrator. It uses open2 to talk with another program. However, when it is run as IUSR_ (ie, when it is launched by a cgi process, which it needs to be for the application), it gives errors like the following (from t

RE: Read Fixed width database

2004-01-07 Thread Lynn. Rickards
> > > Hi All! > > Is there an easy way (or module) to turn a flat fixed-width > database into > useful data? I would like to dump particular database fields > into a hash. > > > Tom Jones12345 Something Dr. Atlanta GA25467 > JohnDoe 1704 Green Street Boston

Win32 PPT finding max value in range of embedded worksheet

2004-01-07 Thread Lance Hoffmeyer
Anyone have any idea how I can find the maximum value in a range (B3:O3)? The only way I can think of would be to write a formula in another cell and compare this value to each of the values in B3:O3. There has to be a better way but darn if I can think of it. Something like: my $r1 = $wsheet->Max

RE: Read Fixed width database

2004-01-07 Thread Joseph Discenza
Chris wrote, on Wednesday, January 07, 2004 2:09 PM : Is there an easy way (or module) to turn a flat fixed-width database into : useful data? I would like to dump particular database fields into a hash. : : Tom Jones12345 Something Dr. Atlanta GA25467 : JohnDoe 170

RE: Win32 PPT Adding Autoshapes

2004-01-07 Thread Steven Manross
Shouldn't that be... my $slideobject = $p2->Slides(1); :) Put some error-checking in there as well. if (Win32::OLE->LastError() != 0) { print "Danger, Will Robinson, an OLE erorr has occurred!\n".Win32::OLE->LastError(); } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROT

Re: Win32 PPT Adding Autoshapes

2004-01-07 Thread work
Replace: my $slideobject->$p2->Slides(1); with: my $slideobject = $p2->Slides(1); -- Nathaniel Bartusiak TTMS, Keesler AFB > Hello, > > I am trying to add autoshapes to an embedding Excel slide. The VBA code I > have works so I should only need to make a few modifications to get it to > work i

RE: Win32 PPT Adding Autoshapes

2004-01-07 Thread Lynn. Rickards
> > I am trying to add autoshapes to an embedding Excel slide. > The VBA code I > have works so I should only need to make a few modifications > to get it to > work in perl but I am having problems: > > Can't call method "Win32::OLE=HASH(0x19df12c)" on an > undefined value at > test.pl > lin

Read Fixed width database

2004-01-07 Thread Chris
Hi All! Is there an easy way (or module) to turn a flat fixed-width database into useful data? I would like to dump particular database fields into a hash. Tom Jones12345 Something Dr. Atlanta GA25467 JohnDoe 1704 Green Street Boston MA62481 Erica Fields

Re: Win32 PPT Adding Autoshapes

2004-01-07 Thread Mike Jackson
that line will try and find a procedure, variable or property in the package/namespace/pointer $slideobject called (whatever the contents of $p2 are) you probably mean: my $slideobject = $p2->Slides(1); $slideobject is undef until you assign something to it - and undef doesn't export/autoload any

Win32 PPT Adding Autoshapes

2004-01-07 Thread Lance Hoffmeyer
Hello, I am trying to add autoshapes to an embedding Excel slide. The VBA code I have works so I should only need to make a few modifications to get it to work in perl but I am having problems: Can't call method "Win32::OLE=HASH(0x19df12c)" on an undefined value at test.pl line 25. line25 = my $

Re: Very Slow Perl with IIS5

2004-01-07 Thread Mike Jackson
sounds like its polling something, creating a race condition. this is especially relevant on non-file filehandles (sockets, named pipes etc) possibly the mysql connection? if it sends a request that takes a bit of time, and then polls for a response, this would slow the computer until the request

RE: Problem running different versions of Perl

2004-01-07 Thread Capacio, Paula J
> >Ashish Srivastava wrote: > >Sent: Monday, January 05, 2004 11:37 PM > >We have perl 5.6 and perl 5.8 installed on our server. Perl 5.6 dosent >have > >Telnet.pm module installed but perl 5.8 has. So in my script i have >used the > >location of v5.8 and it is running fine. But the script errors o

Re[2]: win32/linux socket communication. (update)

2004-01-07 Thread Sam Schinke
Hello Jeremy, Wednesday, January 7, 2004, 12:27:19 AM, you wrote: JA> The following is the solution. you will notice that i have added JA> the linux [cr] [lf], followed by a perl \r\n. The reason for this JA> would be, in order for linux to RETRIEVE a line of data through a JA> socket, from

Very Slow Perl with IIS5

2004-01-07 Thread Haitham
Dear friends   I have a website that uses Perl to generate pages from a database (mySQL). It is a news website. The performance of the site is changing all the time without a reason. Sometimes it is normal. Others it is extremely slow. I check the task manager, and I can see few Perl jobs wa

Can't locate XML/Parser.pm in @INC

2004-01-07 Thread d p
Trying to parse an RSS feed into html. I added XML::RSS-0.97 through my package manager just fine. I'm using indigoperl. I also tried ActiveState perl just in case, with the same error. Here is the full error message:Can't locate XML/Parser.pm in @INC (@INC c:\indigoperl/perl/site/lib/xml/RSS.pmI

RE: win32/linux socket communication. (update)

2004-01-07 Thread h-taguchi
Hello, (B (B> print $client "dir\x0D\x0A\r\n"; (B (BThis means, (B-- (Bdir (CR) (B(CR) (B-- (Bextra new line? (B (BBy the way, (Ba slitely elegant coding, (B-- (Buse IO::Socket qw(CRLF); (B... (Bprint "GET / HTTP/1.0", CRLF; (B-- (B (BHirosi Taguti (B[EMAIL PROTECTED] (B (B_

Re: Getting Detailed OS Version

2004-01-07 Thread $Bill Luebkert
$Bill Luebkert wrote: > henry isham wrote: > >>Hi All, >> >>I'm trying to find a way to query the local machine to find out whether it's running >>Windows 2000 Professional/XP/Windows 2000 server. I've looked into the >>HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion key, but it doesn't tell

RE: Problem running different versions of Perl

2004-01-07 Thread ashish srivastava
Hi Paula, We tried to use both the approaches i.e. perl and . But no luck. I have included the entire @INC of perl5.8 in my script. I really dont understand why this is happening. :( Ashish From: "Capacio, Paula J" <[EMAIL PROTECTED]> To: "ashish srivastava" <[EMAIL PROTECTED]>,<[EMAIL PROT

RE: win32/linux socket communication. (update)

2004-01-07 Thread Jeremy A
Hi all, thanks for all the help. I think i have solved my problem, but want to know if my solution is compatible with all distributions of linux. the distro of linux that i have tested on is linux mandrake 9.2. For those of you, who have not been following my emails, what i am trying to do, is