MSWord Document Parsers

2005-05-04 Thread Lasher, Brian
Anyone know if there is a good CPAN module that I can use to convert an
MSword document into a text file.  Tried searching on CPAN, but it gave
me 1000s of modules, and very few of them seemed to be related.

-brian


Brian Lasher
Best Practices and Yield Enhancement Team
Catalog DSP Product Engineering
Texas Instruments
 
281-274-2913 (W)
281-684-4699 (C)
281-274-2279 (F)
[EMAIL PROTECTED]


___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: black box

2004-12-16 Thread Lasher, Brian
Thanks for all the help.  Wasn't aware that the shebang made no
difference in windoze.  As for file associations, seems like we've got
file extension namespace pollution.  ".wpl" on my pc is associated with
windoze media player.  Set it up gor ".plw".  

-brian


Brian Lasher
Catalog DSP Product Engineering
Best Practices and Yield Enhancement Team
[EMAIL PROTECTED]
281-274-2913(W)
281-684-4699(C)
713-664-6240(H)
281-274-2279(F)


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
$Bill Luebkert
Sent: Wednesday, December 15, 2004 9:04 PM
To: Ted Schuerzinger
Cc: [EMAIL PROTECTED]
Subject: Re: black box

Ted Schuerzinger wrote:

> $Bill Luebkert graced perl with these words of wisdom:
> 
> 
>>command prompt> wperl perlscript.pl
>>
>>The shebang line version you're trying to do would require a separate
>>file assoc of wperl to say .plw or some such.
> 
> 
> Isn't the command prompt part of the "black box" the original poster 
> didn't want to deal with?

If you mean the Console window - yes.  Of course the command prompt
itself can vary on a per user basis.  If the script name isn't preceded
by perl or wperl, a file association would be needed to associate a
.pl file with perl or a .wpl with wperl.

In order for the shebang line to be used from the command line, you
would need to be running a UNIX shell since none of the Windoze shells
read the shebang line.

-- 
  ,-/-  __  _  _ $Bill Luebkert
Mailto:[EMAIL PROTECTED]
 (_/   /  )// //   DBE CollectiblesMailto:[EMAIL PROTECTED]
  / ) /--<  o // //  Castle of Medieval Myth & Magic
http://www.todbe.com/
-/-' /___/_<_http://dbecoll.tripod.com/ (My Perl/Lakers stuff)
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


problems installing Win32::GUI

2004-12-15 Thread Lasher, Brian
All,

Tried using the ppm to install Win32::GUI.  The ppm just gave me the
following error:

Error: No valid repositories:
Error: 500 Can't connect to ppm.ActiveState.com:80

Assuming it's because I'm behind a firewall with a proxy server, but
couldn't figure out how to configure proxy server settings in ppm.  Does
anyone know how???


Then I tried installing the module using CPAN.pm.  modified proxy server
settings in CPAN/MyConfig.pm per instructions on CPAN, and typed "perl
-MCPAN -e shell" at the command prompt.  Typed "install Win32::GUI" at
cpan prompt and it looked like it started working just fine.  Downloaded
all the files, etc.  crapped out during compile.  Got the following
error:

Runnining make test
'test' is not recognized as an internal or external command,
Operable program or batch file.
   Test -- NOT OK
Running make install
  Make test had returned bad status, won't install without force.


Assumed this occurred because to my knowledge I don't have a c compiler
on my machine.  Downloaded and installed Microsoft visual c++ toolkit
2000.  but still getting error.  Is this Microsoft toolkit not what I
want?  does anyone know where I can get a free version of a compiler
that will finish the module installation??

-brian








Brian Lasher
Catalog DSP Product Engineering
Best Practices and Yield Enhancement Team
[EMAIL PROTECTED]
281-274-2913(W)
281-684-4699(C)
713-664-6240(H)
281-274-2279(F)


___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: black box

2004-12-15 Thread Lasher, Brian
Have got several replies saying use wperl

Modified:

#!perl

To

#!wperl

Doesn't work?  am I not doing it right?


Brian Lasher
Catalog DSP Product Engineering
Best Practices and Yield Enhancement Team
[EMAIL PROTECTED]
281-274-2913(W)
281-684-4699(C)
713-664-6240(H)
281-274-2279(F)


From: Ed Chester [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 15, 2004 2:00 PM
To: Lasher, Brian; [EMAIL PROTECTED]
Subject: RE: black box

use wperl instead of perl
they will behave the same on win32, except that wperl won't support any options 
that require a console window to be there...
 
ed c
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lasher, Brian
Sent: 15 December 2004 20:38
To: [EMAIL PROTECTED]
Subject: black box
Is there any way to keep the "black command-prompt looking box" from popping up 
when executing perl script on win 32 platform?
 
-brian
 
Brian Lasher
Catalog DSP Product Engineering
Best Practices and Yield Enhancement Team
[EMAIL PROTECTED]
281-274-2913(W)
281-684-4699(C)
713-664-6240(H)
281-274-2279(F)
 

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


black box

2004-12-15 Thread Lasher, Brian








Is there any way to keep the “black command-prompt
looking box” from popping up when executing perl script on win 32
platform?

 

-brian

 

Brian Lasher

Catalog DSP Product Engineering

Best Practices and Yield Enhancement Team

[EMAIL PROTECTED]

281-274-2913(W)

281-684-4699(C)

713-664-6240(H)

281-274-2279(F)

 






___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: LWP help

2004-10-28 Thread Lasher, Brian
Title: Message









Lwp_example.pl is script.  STATFILE
is output.  I changed the “proxy server” info to protect TI
proprietary data, and changed the site that is being accessed (although result
is the same).

 

 



Brian Lasher

Catalog DSP Product Engineering

Best Practices and Yield Enhancement Team

[EMAIL PROTECTED]

281-274-2913(W)

281-684-4699(C)

713-664-6240(H)

281-274-2279(F)



 

-Original Message-
From: Gardner, Sam
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday,
 October 26, 2004 1:07 PM
To: Lasher, Brian;
Perl-Win32-Users
Subject: RE: LWP help

 



Kind of hard to tell, w/o
seeing the script or knowing what page it is. . . 





 





 




 
  
  Sam Gardner
  
 
 
  
  GTO Application Development
  
 
 
  
  Keefe, Bruyette & Woods, Inc.
  
 
 
  
  212-887-6753
  
 


 



-Original
Message-
From: Lasher, Brian
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday,
 October 26, 2004 1:29 PM
To: Perl-Win32-Users
Subject: LWP help

I wrote a script using the LWP
module.  At first I got error 500 (something about server does not
exist).  Realized by reading the docs that I had to define my proxy
server.  Not getting that error now, so I assume that fix worked. 
Now I'm getting error 404 (doc not found) for a site that I know is
correct.  Script replies the following:

 

CODE:  
404

STATUS: 404
Not Found

CONTENT:   




404 Not
Found



Not Found

The requested URL
/04-05RD.txt was not found on this server.





 

 

Anyone seen this?  Is there
something people can do to prevent LWP from pulling data from their
server?  Is there something I'm missing?

 

-brian

 

 

 

Brian Lasher

Catalog DSP Product Engineering

Best Practices and Yield Enhancement Team

[EMAIL PROTECTED]

281-274-2913(W)

281-684-4699(C)

713-664-6240(H)

281-274-2279(F)

 










lwp_example.pl
Description: lwp_example.pl
20041028

This is libwww-perl-5.79
BASE:   http://www.yahoo.com/
IS SUCCESS: 
CODE:   403
STATUS: 403 Forbidden
CONTENT:

403 Forbidden

Forbidden
You don't have permission to access /
on this server.

Apache/2.0.46 (Red Hat) Server at www.yahoo.com Port 80

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


LWP help

2004-10-26 Thread Lasher, Brian








I wrote a script using the LWP module.  At first I got
error 500 (something about server does not exist).  Realized by reading
the docs that I had to define my proxy server.  Not getting that error
now, so I assume that fix worked.  Now I’m getting error 404 (doc
not found) for a site that I know is correct.  Script replies the
following:

 

CODE:   404

STATUS: 404 Not Found

CONTENT:    



404 Not Found



Not Found

The requested URL /04-05RD.txt was not found on
this server.





 

 

Anyone seen this?  Is there something people can do to prevent
LWP from pulling data from their server?  Is there something I’m
missing?

 

-brian

 

 

 

Brian Lasher

Catalog DSP Product Engineering

Best Practices and Yield Enhancement Team

[EMAIL PROTECTED]

281-274-2913(W)

281-684-4699(C)

713-664-6240(H)

281-274-2279(F)

 






___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


interpereter errors

2004-10-25 Thread Lasher, Brian








Anyone know how to get interpereter errors in windows….
ms-dos prompt screen seems to disappear before I can read them.

 

-brian

 

 

Brian Lasher

Catalog DSP Product Engineering

Best Practices and Yield Enhancement Team

[EMAIL PROTECTED]

281-274-2913(W)

281-684-4699(C)

713-664-6240(H)

281-274-2279(F)

 






___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


getting sysdate in windows

2004-10-25 Thread Lasher, Brian








Anyone know how to get a sysdate in windows…. qx(date)
doesn’t seem to work?

 

-brian

 

 

Brian Lasher

Catalog DSP Product Engineering

Best Practices and Yield Enhancement Team

[EMAIL PROTECTED]

281-274-2913(W)

281-684-4699(C)

713-664-6240(H)

281-274-2279(F)

 






___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: data structure question (corrected)

2004-10-18 Thread Lasher, Brian

If I have an object that has an array as one of its properties...

i.e. $obj->{LIST} = [ 1,2,3,4,5 ];

is there a really good way to push a scalar onto that array in a
subroutine without copying the entire array

sub Subroutine
{  my $self   = shift;
   my $list   = $self->{LIST};
   my $scalar = 6;

   push $$list, $scalar;


}

above code gives me arg1 must be ARRAY error.

-brian

Brian Lasher
Catalog DSP Product Engineering
Best Practices and Yield Enhancement Team
[EMAIL PROTECTED]
281-274-2913(W)
281-684-4699(C)
713-664-6240(H)
281-274-2279(F)


___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


data structure question

2004-10-18 Thread Lasher, Brian
If I have an object that has an array as one of its properties...

i.e. $obj->{LIST} = [ 1,2,3,4,5 ];

is there a really good way to push a scalar onto that array in a
subroutine without copying the entire array

sub Subroutine
{  my $self   = shift;
   my $list   = $obj->{LIST};
   my $scalar = 6;

   push $$list, $scalar;


}

above code gives me arg1 must be ARRAY error.

-brian

Brian Lasher
Catalog DSP Product Engineering
Best Practices and Yield Enhancement Team
[EMAIL PROTECTED]
281-274-2913(W)
281-684-4699(C)
713-664-6240(H)
281-274-2279(F)


___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs