RE: how to remove a ^M charaters from a variable

2003-12-19 Thread Tom Kinzer
tr/015//; -Tom Kinzer -Original Message- From: Randy W. Sims [mailto:[EMAIL PROTECTED] Sent: Thursday, December 18, 2003 8:05 PM To: David Inglis Cc: [EMAIL PROTECTED] Subject: Re: how to remove a ^M charaters from a variable On 12/20/2003 8:21 AM, David Inglis wrote: > I am reading in

Calling another perl file

2003-12-19 Thread Tushar Gokhale
How do I call another perl script from my current perl script? I'm working on one perl testing harness, currently my "bin/run.pl" has a control and now I want to call script files one by one from "tests/" folder. I also want to pass an argument to the test script file. Once the file is executed fro

Timing an operation

2003-12-19 Thread HENRY,MARK (HP-Roseville,ex1)
Dear All, Merry Christmas!! Wondering if someone can recommend the best way to time an operation within a script. I'm using Net:FTP to check transmission times on files to various computers for later comparison. I see the benchmark module, but I'm thinking take a timestamp, running the ftp tr

Re: mysql cgi admin and client

2003-12-19 Thread George Georgalis
On Tue, Dec 16, 2003 at 09:19:01AM -0800, R. Joseph Newton wrote: >George Georgalis wrote: > >> After I wrote that, I made some good progress... notably: >> http://www.thedumbterminal.co.uk/software/webmysql.shtml >> >> This might be good too, haven't tried >> http://sourceforge.net/projects/mysql

Re: Term:ANSIColor and negative numbers

2003-12-19 Thread Andrew Gaffney
Wagner, David --- Senior Programmer Analyst --- WGO wrote: Andrew Gaffney wrote: (William) Wenjie Wang wrote: -Original Message- From: Wagner, David --- Senior Programmer Analyst --- WGO [mailto:[EMAIL PROTECTED] Sent: Thursday, 18 December 2003 4:41 AM To: James Edward Gray II; Steve Mas

Re: mysql cgi admin and client

2003-12-19 Thread George Georgalis
yeah, that looks right. Thanks Jose. // George On Tue, Dec 16, 2003 at 03:30:10PM +0100, NYIMI Jose (BMB) wrote: >Try >http://www.gossamer-threads.com/scripts/mysqlman/index.htm > >Jos?. > >-Original Message- >From: George Georgalis [mailto:[EMAIL PROTECTED] >Sent: Tuesday, December 16,

RE: how to remove a ^M charaters from a variable

2003-12-19 Thread Jaffer
Hai David, I don't where you tried this have you tried this in NT or in UNIX? $a="jaffer^"; $a=~s/\^M//; This works in NT print $a; But it wont works in Unix. Try this way in Unix $a=~s/\015//g; Let me know if any Thank you jaffer -Original Message- From: David Inglis [mailto:

Re: Term:ANSIColor and negative numbers

2003-12-19 Thread Randy W. Sims
On 12/18/2003 9:15 PM, Andrew Gaffney wrote: Wagner, David --- Senior Programmer Analyst --- WGO wrote: Andrew Gaffney wrote: (William) Wenjie Wang wrote: I believe that you need to load ANSI.SYS in your CONFIG.SYS in order to have the escape sequences interpreted in a DOS session. Sorry,

Re: foreach

2003-12-19 Thread Rob Dixon
Eric Walker wrote: > > perlknucklehead > > > > On Thu, 2003-12-18 at 17:07, Paul Johnson wrote: > > On Thu, Dec 18, 2003 at 04:57:26PM -0700, Eric Walker wrote: > > > > > > Hello all > > > > While traversing a loop across and array, how can I access array > > > > positions further d

Re: how to remove a ^M charaters from a variable

2003-12-19 Thread Rob Dixon
Tom Kinzer wrote: > > tr/015//; This will do nothing to the string. It will just return the number of zero, one and five characters it finds. Control-M is "\cM" or "\x0D" or "\015" or "\r" To get 'tr' to delete the characters it finds you need the /d modifier. tr/\015//d will do the

REGEX: matching AFTER a specific character

2003-12-19 Thread Ben Crane
Hi all, Here is a code snippet, and yes I am going to use File::Basename to strip the file path/filename once I've stripped the entire path from a string. The string $_ is a line in a text file. I want to use File::Basename to pull apart the file path and filename, but first I need to extract the

Re: REGEX: matching AFTER a specific character

2003-12-19 Thread Rob Dixon
Ben Crane wrote: > > Here is a code snippet, and yes I am going to use > File::Basename to strip the file path/filename once > I've stripped the entire path from a string. > > The string $_ is a line in a text file. I want to use > File::Basename to pull apart the file path and > filename, but firs

Networking-perl problem

2003-12-19 Thread chetak.sasalu
Hi, I have to gather data from external devices and process it. There are 3 devices to be interfaced to the pc.One of the device is connected through the ethernet.The other two are connected through serial(com) ports. Are there any modules in perl to achieve this in windows? Thanks in advance,

RE: foreach

2003-12-19 Thread Bob Showalter
Jeff Westman wrote: > Eric Walker <[EMAIL PROTECTED]> wrote: > > > I got it so I need a counter which sends me to a for loop instead > > of a foreach. Thanks.. > > > > perlknucklehead > > I believe that 'for' and 'foreach' are completely > interchangable. I remember > reading somewhere that on

Re: foreach

2003-12-19 Thread Rob Dixon
Bob Showalter wrote: > > Jeff Westman wrote: > > Eric Walker <[EMAIL PROTECTED]> wrote: > > > > > I got it so I need a counter which sends me to a for loop instead > > > of a foreach. Thanks.. > > > > > > perlknucklehead > > > > I believe that 'for' and 'foreach' are completely > > interchangable.

Re: Networking-perl problem

2003-12-19 Thread Randy W. Sims
On 12/19/2003 7:15 AM, [EMAIL PROTECTED] wrote: Hi, I have to gather data from external devices and process it. There are 3 devices to be interfaced to the pc.One of the device is connected through the ethernet.The other two are connected through serial(com) ports. Are there any modules in perl t

RE: foreach

2003-12-19 Thread Paul Kraus
I am catching this thread late so this may have been covered. But can you give me some examples? I use foreach for arrays. For for loops where I need to maintain a count and have a criteria on the iterations. > -Original Message- > From: Rob Dixon [mailto:[EMAIL PROTECTED] > Sent: Frid

Re: foreach

2003-12-19 Thread James Edward Gray II
On Dec 19, 2003, at 7:59 AM, Rob Dixon wrote: That's fair enough, as long as you have a consistent convention. I use for (EXPRESSION; EXPRESSION; EXPRESSION) and foreach (LIST) unless the list has only one element, when I use for (EXPRESSION) to alias $_ with the expression for the exte

Re: foreach

2003-12-19 Thread Eric Walker
Thanks I was able to use a for loop and just do a $cnt + N to access any locations that I needed, that I have not iterated on. Thanks...all for your help perlknucklehead On Fri, 2003-12-19 at 07:24, James Edward Gray II wrote: On Dec 19, 2003, at 7:59 AM, Rob Dixon wrote: > That's f

Re: Term:ANSIColor and negative numbers

2003-12-19 Thread Chuck Fox
[EMAIL PROTECTED] wrote: Well, in Windows 98 and below, you could add the line: DEVICE=ANSI.SYS to your C:\CONFIG.SYS and it would allow the command prompt to interpret ANSI escape sequences. Unfortunately, I do not know the equivelant for Windows NT/2K/XP. Ahh, A Golden Oldie for sure! You

RE: how to remove a ^M charaters from a variable

2003-12-19 Thread Tom Kinzer
right - my bad. what i mean, not what i say! thanks rob. -Tom Kinzer -Original Message- From: Rob Dixon [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 3:07 AM To: [EMAIL PROTECTED] Subject: Re: how to remove a ^M charaters from a variable Tom Kinzer wrote: > > tr/015//; T

RE: how to remove a ^M charaters from a variable

2003-12-19 Thread Dan Muey
> Hai David, > > I don't where you tried this > have you tried this in NT or in UNIX? > > $a="jaffer^"; > $a=~s/\^M//; This works in NT > print $a; > > But it wont works in Unix. Sure it does: (unless you're talking goofy data of a binary hexy sort of thing, which you might be since I comple

debugger

2003-12-19 Thread Eric Walker
Hello all, When using the perl debugger, is there a way to load in the breakpoints and watch variables that I want from a file. I am using it now and as I am debugging I am finding problems but when I start the program over I have to re-enter all my breakpoints and watch variables again. Can these

NEVERMIND I FOUND THE ANSWER

2003-12-19 Thread Eric Walker
Never mind, I found that instead of hitting q twice , just hit it once and the r for restart and I still keep all my settings.. Thanks... perlknucklehead -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: encrypting email address (to prevent spam)

2003-12-19 Thread Dan Muey
> > What's unethical about it? What's wrong with posting it in multiple > places?!! Not everyone on this list is a member of that list (and > vice-versa). It is also very possible that someone on this list > doesn't know the answer she needs (or doesn't bother to respond). > Nothing really

Re: how to remove a ^M charaters from a variable

2003-12-19 Thread Dan Anderson
> "\r" Caveat: Only on *nix systems. Otherwise \n is 0x1512 and not 0x12. -Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Preventing Accidentally Fork Bombing My Box

2003-12-19 Thread Dan Anderson
I'm creating an app that uses forks in a number of places to do things quicker. Unfortunately, I have a bad habit of accidentally fork bombing my box. Is there any way I can run a perl process (even if it's a Linux command) so that it wont eat up all available resources if I screw up? Or do I ju

Re: how to remove a ^M charaters from a variable

2003-12-19 Thread Dan Anderson
On Fri, 2003-12-19 at 11:54, Dan Anderson wrote: > > "\r" > > Caveat: Only on *nix systems. Otherwise \n is 0x1512 and not 0x12. That should read Otherwise \n can be 0x1512 -- i.e. on Windoze boxen. On Macs it's something different. -Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: how to remove a ^M charaters from a variable

2003-12-19 Thread agftech lists
I'd found this here http://www.unixblog.com/quick_unix_tips/remove_m_with_vi.php You can try this on multiple files perl -pi -e 's/\015//g' files On Sat, 2003-12-20 at 07:21, David Inglis wrote: > I am reading in a csv file and it has a control character ^M at the end

Fwd: foreach

2003-12-19 Thread drieux
drieux, This came just to me - I presume you meant to go to the list too? thanks paul... must have missed one step in the responding... On Thu, Dec 18, 2003 at 06:36:40PM -0800, drieux wrote: On Dec 18, 2003, at 4:43 PM, Paul Johnson wrote: On Thu, Dec 18, 2003 at 04:31:20PM -0800, Jeff Westman

Re: Align Text

2003-12-19 Thread James Edward Gray II
On Dec 19, 2003, at 8:29 AM, Bill Jastram wrote: James: A coupe of things. #1. Pardon my ignorance, but I'm not sure how to use the list where I found the reply button to e-mail you directly. I could not find a way to add to the already existing 'thread'. Your help would be appreciated. The lis

RE: how to remove a ^M charaters from a variable

2003-12-19 Thread Tom Kinzer
Also to address the root cause, the OP said it was on the end of every line. I would check the whole system - depending on the journeys and gyrations the CSV file goes through before you get it. An intelligent use of ASCII ftp (binary bad) and/or chomp will usually take care of any of the cross-pl

RE: Align Text

2003-12-19 Thread Tom Kinzer
yes, and if that won't work for you, check out the 'format' command, you can do lots of slick stuff with it, like centering. -Tom Kinzer -Original Message- From: James Edward Gray II [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 9:16 AM To: Bill Jastram Cc: Perl List Subject:

RE: Internal -e escape char

2003-12-19 Thread Dan Muey
> Dan Muey wrote: > > [snip] > > > I could replace all single quotes with double quotes and escape > > everythgin inbetween them but that seems like a lot. > > > > Any ideas how to deal with the single quotes? (Since shell escape > > characters may or may not work since apache is executing it

RE: Preventing Accidentally Fork Bombing My Box

2003-12-19 Thread Tom Kinzer
use safe ? just a guess if it will work for this problem. check it out. -Tom Kinzer -Original Message- From: Dan Anderson [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 8:56 AM To: Perl Beginners Subject: Preventing Accidentally Fork Bombing My Box I'm creating an app that

RE: Preventing Accidentally Fork Bombing My Box

2003-12-19 Thread Tom Kinzer
nope, looks like it's no safety net for CPU or anything, just compartmentalized namespace and such. -Tom Kinzer -Original Message- From: Tom Kinzer [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 9:27 AM To: Dan Anderson; Perl Beginners Subject: RE: Preventing Accidentally Fork

RE: Align Text

2003-12-19 Thread Bill Jastram
We're getting closer. But lets say the first name of the first field in the first row is 'Bill'. And the first name of the first field in the second row is 'Lanette'. This command will not compensate for the difference in the length of the two first names. So, the alignment of the second fields

RE: Align Text

2003-12-19 Thread Jeff Westman
Bill Jastram <[EMAIL PROTECTED]> wrote: Can you give an example of what you want your output to look like? >From what I am hearing you say, you probably should be using 'format', as one already responded. -Jeff > We're getting closer. But lets say the first name of the first field in the > fi

Re: Align Text

2003-12-19 Thread James Edward Gray II
On Dec 19, 2003, at 12:04 PM, Bill Jastram wrote: We're getting closer. But lets say the first name of the first field in the first row is 'Bill'. And the first name of the first field in the second row is 'Lanette'. This command will not compensate for the difference in the length of the two f

RE: Align Text

2003-12-19 Thread Tom Kinzer
say wha? show me, please. -Original Message- From: Bill Jastram [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 10:04 AM To: Tom Kinzer Cc: James Edward Gray II; Perl List Subject: RE: Align Text We're getting closer. But lets say the first name of the first field in the first

Re: Preventing Accidentally Fork Bombing My Box

2003-12-19 Thread drieux
On Dec 19, 2003, at 8:55 AM, Dan Anderson wrote: [..] I'm creating an app that uses forks in a number of places to do things quicker. Unfortunately, I have a bad habit of accidentally fork bombing my box. I'm not sure I get this phrase 'fork bombing' to begin with, do you mean that you wind up fo

reading formated report, excel, OLE::32

2003-12-19 Thread William Martell
Hello All, I was wondering if anyone could offer some pointers on extracting data from a text file that is formated. I need to extract the data that is under the column headers. I have attached a sample of the printed report. The real report repeats the same format over and over again until com

Re: reading formated report, excel, OLE::32

2003-12-19 Thread Randy W. Sims
On 12/19/2003 11:24 AM, William Martell wrote: Hello All, I was wondering if anyone could offer some pointers on extracting data from a text file that is formated. I need to extract the data that is under the column headers. I have attached a sample of the printed report. The real report repeat

Re: reading formated report, excel, OLE::32

2003-12-19 Thread Randy W. Sims
On 12/19/2003 11:39 AM, William Martell wrote: Thanks Randy, Would I read the file in line by line then get the substring of data that I need and push that onto an array pertaining to that customer. Correct. The question that comes to mind is that each line is different and I would need to write

Re: reading formated report, excel, OLE::32

2003-12-19 Thread Randy W. Sims
[It's best to reply to the list so that others can contribute and learn.] On 12/19/2003 12:11 PM, William Martell wrote: OK. What about the trash that the substring will collect from the headers of the printed report? I didn't look very closely before, but it looks like this report has multilin

Re: reading formated report, excel, OLE::32

2003-12-19 Thread Richard Morse
On Friday, December 19, 2003, at 11:24 AM, William Martell wrote: I need to extract the data that is under the column headers. I have attached a sample of the printed report. The real report repeats the same format over and over again until completion. I would like to extract the data and plac

RegEx Troubles

2003-12-19 Thread Jeremy Mann
Given this in $_ Most popular title searches:"Enterprise" (2001)" why would this regex not put digits in $1 ? $data2 =~ /popular title searches:<\/p>/ Thanks in advance... -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: RegEx Troubles

2003-12-19 Thread Wolf Blaum
>Given this in $_ >Most popular title searches:HREF="/title/tt0244365/">"Enterprise" (2001)" > >why would this regex not put digits in $1 ? > >$data2 =~ /popular title searches:<\/p>HREF=\"\/title\/tt(\d*)\/\">/ > Hi, Snip--- $data2='Most popular title searches:"Enterprise" (2001)"'; $data2 =~

RE: RegEx Troubles

2003-12-19 Thread Wagner, David --- Senior Programmer Analyst --- WGO
>Given this in $_ >Most popular title searches:"Enterprise" >(2001)" > >why would this regex not put digits in $1 ? > >$data2 =~ /popular title searches:<\/p>/ Then "$datas =~ "should be removed and just use /popular title searches:<\/p>/ You are going vs $data2 when you state the valu

Re: RegEx Troubles

2003-12-19 Thread Ricardo SIGNES
* Jeremy Mann <[EMAIL PROTECTED]> [2003-12-19T13:47:26] > Given this in $_ > Most popular title searches: HREF="/title/tt0244365/">"Enterprise" (2001)" > > why would this regex not put digits in $1 ? > > $data2 =~ /popular title searches:<\/p> HREF=\"\/title\/tt(\d*)\/\">/ This code: $da

Re: Preventing Accidentally Fork Bombing My Box

2003-12-19 Thread Dan Anderson
drieux <[EMAIL PROTECTED]> writes: > On Dec 19, 2003, at 8:55 AM, Dan Anderson wrote: > [..] > > I'm creating an app that uses forks in a number of places to do things > > quicker. Unfortunately, I have a bad habit of accidentally fork > > bombing > > my box. > > I'm not sure I get this phrase '

Re: RegEx Troubles

2003-12-19 Thread James Edward Gray II
On Dec 19, 2003, at 12:47 PM, Jeremy Mann wrote: Given this in $_ Most popular title searches:"Enterprise" (2001)" why would this regex not put digits in $1 ? $data2 =~ /popular title searches:<\/p>/ Because the regex targets the $data2 variable instead of $_, possibly. I don't seen anything wr

Re: RegEx Troubles

2003-12-19 Thread John W. Krahn
Jeremy Mann wrote: > > Given this in $_ > Most popular title searches: HREF="/title/tt0244365/">"Enterprise" (2001)" > > why would this regex not put digits in $1 ? > > $data2 =~ /popular title searches:<\/p> HREF=\"\/title\/tt(\d*)\/\">/ If the text is in $_ then that should be: $_ =~ m|popul

RE: Preventing Accidentally Fork Bombing My Box

2003-12-19 Thread Bob Showalter
Dan Anderson wrote: > I'm creating an app that uses forks in a number of places to do things > quicker. Unfortunately, I have a bad habit of accidentally > fork bombing > my box. Is there any way I can run a perl process (even if > it's a Linux > command) so that it wont eat up all available reso

Error when compiling ARSPerl-1.81 on a unix server

2003-12-19 Thread msheffie
This is my first attempt to compile a module on a unix server. It appears the "perl Makefile.pl" command ran without error. Other info: - sun-solaris 2.6. - perl 5.005_02 - I copied the api files from the current remedy server - version 5.1 Here is the output of running gmake: Any idea

diff between packages and modules

2003-12-19 Thread christopher j bottaro
i'm reading "Programming Perl" and i'm on the chapter about packages. it says that packages and modules are very similar and that novices can think of packages, modules, and classes as the same thing, but i wanna know exactly what the differences between packages and modules are (i'm a c++ prog

Re: Align Text

2003-12-19 Thread Rob Dixon
Bill Jastram wrote: > We're getting closer. But lets say the first name of the first > field in the first row is 'Bill'. And the first name of the > first field in the second row is 'Lanette'. This command will > not compensate for the difference in the length of the two > first names. So, the ali

Re: Align Text

2003-12-19 Thread Eric Walker
I have use the FORMAT function in perl. Its pretty nice. perldoc -f format. Hope that helps perlknucklehead On Fri, 2003-12-19 at 14:20, Rob Dixon wrote: Bill Jastram wrote: > We're getting closer. But lets say the first name of the first > field in the first row is 'Bill'. And t

RE: diff between packages and modules

2003-12-19 Thread Bob Showalter
christopher j bottaro wrote: > i'm reading "Programming Perl" and i'm on the chapter about packages. > it says that packages and modules are very similar and that novices > can think of packages, modules, and classes as the same thing, but i > wanna know exactly what the differences between package

Re: how to remove a ^M charaters from a variable

2003-12-19 Thread Douglas Lentz
David Inglis wrote: I am reading in a csv file and it has a control character ^M at the end of each line how can I remove these charaters, I have tried the following and had no success. $a=~s/\^M//; $a=~s/^M//; Any help appreciated thanks. This is an MS-DOSsy file, where each line is terminate

Re: how to remove a ^M charaters from a variable

2003-12-19 Thread Ajey
if its a unix file,.open in vi :%s/ctrl+v ctrl+m//g (where ctrl+v and ctrl+m gives the ^M character.) cheers On Fri, 19 Dec 2003, Douglas Lentz wrote: > David Inglis wrote: > > >I am reading in a csv file and it has a control character ^M at the end > >of each line how can I remove these char

Re: Preventing Accidentally Fork Bombing My Box

2003-12-19 Thread drieux
On Dec 19, 2003, at 11:33 AM, Dan Anderson wrote: [..] I'll do something dumb, like fork in a loop while $number_forks < $fork_this_many. [..] You might want to have a WAY different strategy! Remember both sides of the fork get a copy of the code space - and as such the first f

Re: Calling another perl file

2003-12-19 Thread drieux
On Dec 18, 2003, at 10:12 PM, Tushar Gokhale wrote: How do I call another perl script from my current perl script? I'm working on one perl testing harness, currently my "bin/run.pl" has a control and now I want to call script files one by one from "tests/" folder. I also want to pass an argument

Re: Timing an operation

2003-12-19 Thread drieux
On Dec 18, 2003, at 4:22 PM, HENRY,MARK (HP-Roseville,ex1) wrote: [..] Any other recommendations? [..] cf perldoc time my $starttime = time; cmd_foo_here my $stoptime = time; ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

Re: diff between packages and modules

2003-12-19 Thread drieux
On Dec 19, 2003, at 1:16 PM, christopher j bottaro wrote: i'm reading "Programming Perl" and i'm on the chapter about packages. it says that packages and modules are very similar and that novices can think of packages, modules, and classes as the same thing, but i wanna know exactly what the d

Re: Align Text

2003-12-19 Thread R. Joseph Newton
Bill Jastram wrote: > We're getting closer. But lets say the first name of the first field in the first > row is 'Bill'. And the first name of the first field in the second row is 'Lanette'. > This command will not compensate for the difference in the length of the two first > names. So, the al

When to USE shift or @_

2003-12-19 Thread Colin Johnstone
Gidday all, I want to pass a boolean value as a parameter to a subroutine what should I use shift or @_ and whats the difference please. e.g mySubRoutine(0); sub mySubRoutine{ my $booleanParameter = @_; return; }

Re: When to USE shift or @_

2003-12-19 Thread Daniel Staal
--As off Saturday, December 20, 2003 1:57 PM +1100, Colin Johnstone is alleged to have said: Gidday all, I want to pass a boolean value as a parameter to a subroutine what should I use shift or @_ and whats the difference please. e.g mySubRoutine(0); sub mySubRoutine{ my $booleanPara

Re: diff between packages and modules

2003-12-19 Thread christopher j bottaro
ahh thank you. so saying package CJB; is like saying namespace CJB { and saying use BinaryTree; is like saying #include "BinaryTree.h" ? so a package exports certain vars/functions and those var/functions make up a module? thanks again, -- christopher On Friday 19 December 2003 03:51

Re: diff between packages and modules

2003-12-19 Thread christopher j bottaro
thanks for the reply. i think i'm understanding it a little better now. but i haven't really got a firm grasp on OO perl, so that example is a bit over my head still. On Friday 19 December 2003 05:40 pm, drieux wrote: > ok, I bite, what is a vbulletin, I'm an OldGuy > and use to do this with u

Re: Ending a compound statement

2003-12-19 Thread Kenton Brede
On Thu, Dec 18, 2003 at 12:37:33PM -0800, drieux wrote: > > On Dec 18, 2003, at 11:35 AM, Kenton Brede wrote: > http://nixnotes.org/perl_dump.html Thanks for everyones response first of all. > So first things first, Do You REALLY want to > know what @ARGV was prior to calling GetOptions? Poin

Re: Zip using Perl

2003-12-19 Thread R. Joseph Newton
Manish Uskaikar wrote: > Hi All, > > I would like to "zip" a file using perl script. I used following command:- > > system ("zip "); > > However this command fails when the filename is more than 8 characters. Not true. I just tested, and filenames were not rejected for length. It does not ign

Re: Preventing Accidentally Fork Bombing My Box

2003-12-19 Thread R. Joseph Newton
Dan Anderson wrote: > I'm creating an app that uses forks in a number of places to do things > quicker. Unfortunately, I have a bad habit of accidentally fork bombing > my box. This is a pretty good sign that you are over-using the fork command. Efficiently designed programs can usually run pret

Win32 Registry

2003-12-19 Thread Jeff Westman
Hi, I need to access the Windows registry directly (not an exported 'reg' file). I am not familiar with Win32::Registry::File. Basically, I am trying to write a script that will do some 'cleanup' of known 'values' and 'data' strings that some uninstall applications neglect to cleanup. Any exa