what to call my module

2003-02-10 Thread Paul Tremblay
-- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: how to set up Makefile.pl

2003-02-06 Thread Paul Tremblay
Thanks Bob, and thanks RF. I used seek and tell, and now have the data as part of a module. Paul On Wed, Feb 05, 2003 at 05:13:24PM -0500, Bob Showalter wrote: From: Bob Showalter [EMAIL PROTECTED] To: 'Paul Tremblay' [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: how to set up

Re: how to set up Makefile.pl

2003-02-05 Thread Paul Tremblay
, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

how to set up Makefile.pl

2003-02-04 Thread Paul Tremblay
found any straightforward documentation. Thanks Paul -- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: how to distribute a module

2003-02-03 Thread Paul Tremblay
times. I am working with someone else, and he has also checked. (Of course, there is always the possibilithy that I am still wrong!) Thanks Paul -- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED

how to distribute a module

2003-02-02 Thread Paul Tremblay
install make test and have everything working right. Thanks Paul -- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: how to distribute a module

2003-02-02 Thread Paul Tremblay
, the script needs to put this dtd some place, and needs to know where it is. Thanks Paul -- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

finding invalide options in getopt

2002-09-01 Thread Paul Tremblay
on perldoc.com for usage::pod, but this link is broken. (I read your tutorial, Drieux, but it was a bit too advanced for me!) Thanks Paul -- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: where to put data files

2002-08-29 Thread Paul Tremblay
, e-mail: [EMAIL PROTECTED] -- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

convert decimal to hexidecimal

2002-08-28 Thread Paul Tremblay
lines above should look like: #x2003; #x2660; Thanks Paul -- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: convert decimal to hexidecimal

2002-08-28 Thread Paul Tremblay
-- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: where to put data files

2002-08-27 Thread Paul Tremblay
On Wed, Aug 21, 2002 at 11:43:43AM -0700, drieux wrote: On Wednesday, August 21, 2002, at 10:06 , Paul Tremblay wrote: I am writing a script that converts RTF to XML, and this script needs to read an external data file to form a hash. I plan to make this script available to anyone who

where to put data files

2002-08-21 Thread Paul Tremblay
, the script outputs to standard output. Future versions might require that the script make one run through the file, write to a temp file, then make a run through the temp file. Where should I put this temp file (if I need to make one, that is)? Thanks Paul -- *Paul Tremblay

to slurp or not to slurp

2002-08-15 Thread Paul Tremblay
only known to the morons at micro$oft, they changed this code in word 97 and 2000. Thanks Paul -- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: speed and perl

2002-08-03 Thread Paul Tremblay
of the water when it comes to munging text. Paul -- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: speed and perl

2002-08-03 Thread Paul Tremblay
On Sat, Aug 03, 2002 at 10:58:24AM +0200, Paul Johnson wrote: On Fri, Aug 02, 2002 at 02:08:25AM -0400, Paul Tremblay wrote: (I know I did a little test with sed, a python script, and a perl script, just changing the word the to teh in a huge file. Sed and python took about he same

changing multiple flags and changing them back

2002-08-01 Thread Paul Tremblay
-- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

speed and perl

2002-08-01 Thread Paul Tremblay
script, just changing the word the to teh in a huge file. Sed and python took about he same time, while perl was six times faster.) Paul -- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Perl IDE's v. Perl Editors was Re: Editor

2002-07-31 Thread Paul Tremblay
there. But nedit is also a good choice as an editor. It is very intuitive and also powerful. Paul -- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: So what is munging?

2002-07-29 Thread Paul Tremblay
-- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: fastest way to substitute

2002-07-29 Thread Paul Tremblay
Paul -- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: fastest way to substitute

2002-07-27 Thread Paul Tremblay
. Or this just occurred to me: s[()|()|()|\\($rx)][$rep{$1}/]go; Yea, that should work! I also realize that I shouldn't initialize my hashes in my subroutines. Making them global should also speed up my script a bit. Thanks! Paul -- *Paul Tremblay * *[EMAIL

Re: fastest way to substitute

2002-07-27 Thread Paul Tremblay
; . ); Then you solution shold work. I planned to change my hash, but I guess I got ahead of myslef in my email! Paul -- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: fastest way to substitute

2002-07-26 Thread Paul Tremblay
-- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: time comparison

2002-07-26 Thread Paul Tremblay
-- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: fastest way to substitute

2002-07-26 Thread Paul Tremblay
= \hash_method, }; # end of the world as I knew it [EMAIL PROTECTED] all rights reserved ### On Jul 26, Paul Tremblay said: Is there a quicker way to substitute an item in a line than reading the line in each time? I am writing a script to convert RTF

create annoymous hash here?

2002-07-22 Thread Paul Tremblay
-- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: script too slow?

2002-07-15 Thread Paul Tremblay
' ' brackets' '\}' '' '\\' '\\escaped_back_slash' '\par' ' Thanks Paul -- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: script too slow?

2002-07-14 Thread Paul Tremblay
-- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

script too slow?

2002-07-13 Thread Paul Tremblay
the only free utilities for converting rtf to xml are a java utility call majix, which deletes your footnotes and only allows for 9 user-defined styles. If my perl script is too slow, it won't be very useful. Thanks Paul -- *Paul Tremblay * *[EMAIL PROTECTED

Re: script too slow?

2002-07-13 Thread Paul Tremblay
-- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: script too slow?

2002-07-13 Thread Paul Tremblay
Rises} \par I tried this on my big document, and it took only 4 tenths of a second. In sum, I am thinking that the regex are so super fast in perl that it I choose carefully what to substitute first, I can parse my document much faster. Thanks! -- *Paul Tremblay

Re: fastest regexp: split or (.*)?

2002-07-12 Thread Paul Tremblay
a question with an example line, and the same example line was used; I chose two variables, and the same two variables were used. I kept having to say no they didn't use your code you posed a few hours ago. Paul -- *Paul Tremblay * *[EMAIL PROTECTED

fastest regexp: split or (.*)?

2002-07-11 Thread Paul Tremblay
-- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: converting html to text

2002-04-05 Thread Paul Tremblay
website. It appears that this module is broken. That is, it can't handle certain html (which is valid when looked at in a browser). I think I'm ready to try other filters (those not in perl). Paul -- *Paul Tremblay * *[EMAIL PROTECTED

converting html to text

2002-04-04 Thread Paul Tremblay
module already written. Converting html to text seems like such a common task, that there ought to be some robust scripts out there. Interestingly enough, I found many scripts to convert html to rtf and LaTeX and every other format, but not plain old text! Paul -- *Paul

Re: converting html to text

2002-04-04 Thread Paul Tremblay
put a * before list items, might apporxtimate tables, etc. No sense in hacking something together when someone problably wrote a powerful version. Paul -- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: anonymous subroutine problem

2002-03-29 Thread Paul Tremblay
' subroutine. If I put the anonymous subroutine within the 'new' subroutine block, then the script executes correctly, and I still make sure that you can't increment the value of the number of CDs directly. Thanks! Paul -- *Paul Tremblay * *[EMAIL PROTECTED

path for personal library

2002-03-27 Thread Paul Tremblay
me it can't find the module. If I use use lib /home/paul/perl5; Then I don't get an error message. How do I set a permanent path for my own personal library? Thanks Paul -- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e

anonymous subroutine problem

2002-03-27 Thread Paul Tremblay
where I put it. Thanks! PS: Typos in computer books can really cause you to lose your mind. You keep thinking that you typed something wrong! -- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED

looking for book on object oriented perl

2002-03-18 Thread Paul Tremblay
object oriented langauge. Thanks! Paul -- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: looking for book on object oriented perl

2002-03-18 Thread Paul Tremblay
and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- *Paul Tremblay * *[EMAIL PROTECTED]* -- To unsubscribe, e-mail: [EMAIL