Re: Off-Topic (200%) - Where are you from?

2001-11-12 Thread Tommy Rohde
*This message was transferred with a trial version of CommuniGate(tm) Pro* JAS, Just Another Swede. Stockholm, Sweden -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: explanation needed on sort using {$a<=>$b}

2001-11-12 Thread EternalLifeThereAfter
I have to agree that the spaceship operator is special ! But the sequence of sorting is still a very mysterious thing to me. I could imagine sorting is just like a factory conveyancy belt, pushing the elements thru some sorting machine. To find out what's exactly going on, I've decided to take a p

Re: Off-Topic (200%) - Where are you from?

2001-11-12 Thread matt jones
At 16:17 09/11/01 +, Gary Stainburn wrote: > On Friday 09 November 2001 4:07 pm, John Edwards wrote: > > Leeds, UK > > Small world - me too!!! Huddersfield. -- mj -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: simple code

2001-11-12 Thread mark crowe (JIC)
Hi Henry Have you looked at using substr to take each octamer from the start for the sequence? It's probably a lot more efficient than splitting it into an array and taking the first 8 bases each time (althought I'm pretty sure that was exactly the way I did my first DNA scripts too :-) Also, if

protecting code

2001-11-12 Thread [EMAIL PROTECTED]
Hi, I have a web application which until now has been running on our own servers. If we sell the software for the buyer to install on their own server is it possible to encrypt the code from the buyer. Our application uses mod_perl. At the moment about 50% of the code is in packages (pm). Altho

RE: Off-Topic (200%) - Where are you from?

2001-11-12 Thread PURMONEN, Joni
hey, Yet Another Finn here as well (although currently stuck in Oxford, UK...). Joni -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 11 November 2001 19:15 To: [EMAIL PROTECTED] Subject: Re: Off-Topic (200%) - Where are you from? On Fri, 9 Nov 2001, Etienne

Off-Topic (200%) - Where are you from?

2001-11-12 Thread Gross, Stephan
Metuchen, NJ, USA ___ Stephan Gross Loral Skynet 908-470-2388 [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Access the same hash in the parent and child process

2001-11-12 Thread Bob Showalter
> -Original Message- > From: Marcia Magna [mailto:[EMAIL PROTECTED]] > Sent: Saturday, November 10, 2001 6:58 PM > To: [EMAIL PROTECTED] > Subject: Access the same hash in the parent and child process > > > Hi, > > I have a program that needs to fork. The child process > creates values

RE: simple code

2001-11-12 Thread Henry Hung-Yung Wang
Hi everyone, Thanks for the advice. They were really helpful. I have tried a different way of approaching my problem and it's now working. However, I do appreaciate all the suggestions that you have provided me. Henry On Mon, 12 Nov 2001, mark crowe (JIC) wrote: > Hi Henry > > Have you looked

RE: Off-Topic (200%) - Where are you from?

2001-11-12 Thread Crowder, Rod
Crawley, Sussex, UK (Next to Gatwick airport) > -Original Message- > From: PURMONEN, Joni [mailto:[EMAIL PROTECTED]] > Sent: 12 November 2001 14:10 > To: '[EMAIL PROTECTED]' > Subject: RE: Off-Topic (200%) - Where are you from? > > > hey, Yet Another Finn here as well (although currentl

RE: Off-Topic (200%) - Where are you from?

2001-11-12 Thread GoodleafJ
Seattle, Washington -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Off-Topic (200%) - Where are you from?

2001-11-12 Thread Dave Rankin
Providence, in the tiny state of Rhode Island -Dave -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Off-Topic (200%) - Where are you from?

2001-11-12 Thread royce . wells
memphis tn The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or

Re: Off-Topic (200%) - Where are you from?

2001-11-12 Thread Francis Henry
New York, NY. Dave Rankin wrote: > Providence, in the tiny state of Rhode Island > > -Dave > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

extracting between tags

2001-11-12 Thread Steve Tattersall
Please help I am trying to extract the line begining with GB and also the Title between html tags from multiple html files. For example I want to extract the line: (see the html code below) GB 0152 MSS.126/NUDL and also the title which is: National Union of Dock, Riverside and General Workers

RE: Off-Topic (200%) - Where are you from?

2001-11-12 Thread John Moylan
Hammersmith, London -Original Message- From: Tyler Cruickshank [mailto:[EMAIL PROTECTED]] Sent: 09 November 2001 18:58 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Off-Topic (200%) - Where are you from? ah, what the hey ... Salt Lake City, UT - Greatest Snow on Earth. . a

Re: protecting code

2001-11-12 Thread A. Rivera
One option...there may be others? You can try to use perlcc, to convert the code to C and then it will compile to an executable. However, the executable file that results is big and ineffecient, assuming that perlcc can compile it at all (it's not totally ready for prime-time) Here is an exampl

Re: Off-Topic (200%) - Where are you from?

2001-11-12 Thread Ricardo Derbes
Well far from west coast... I´m living in Bariloche, Argentina, but I´m from Montevideo, Uruguay. (try to find it in a map...) Ricardo Derbes Altec SE Albarracín 157 - San Carlos de Bariloche +54-2944-426892 [EMAIL PROTECTED] - Original Message - From: "Etienne Marcotte" <[EMAIL PROTECTED]

RE: CGI.pm Question

2001-11-12 Thread blowther
Here's a function I wrote to make this eaiser for myself... Might be usefull, might not. It depends on you having a hash of data you want to dump into a cgi table. sub HashToTable { my $hashRef = shift; my $orderRef = shift; my $table_contents; if($orderRef) {

whats wrong with this?

2001-11-12 Thread Ben Crane
hey guys, this file::find problem is getting me down...I have tried to simplify it as much as possible. these 3 files do exist on my c: root. the program doesn't find anything if I use a variable in my if statement, if I use a constant...bingo...I can't work it out...what am i doing wrong? #!usr/

RE: whats wrong with this?

2001-11-12 Thread Bob Showalter
> -Original Message- > From: Ben Crane [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 12, 2001 1:29 PM > To: [EMAIL PROTECTED] > Subject: whats wrong with this? > > > hey guys, this file::find problem is getting me > down...I have tried to simplify it as much as > possible. > these

Re: Disable ctrl-c possble?

2001-11-12 Thread Brett W. McCoy
On Mon, 12 Nov 2001, jpf wrote: > Does anyone know if it is possible to disable ctrl-c so that the user > cannot exit at a specific point? > This is on a windows platform. (Not sure why you sent this to the beginners-cgi list, so I have redirected to the beginners list) I don't know if you can

Re: Disable ctrl-c possble?

2001-11-12 Thread Jeff 'japhy' Pinyan
On Nov 12, Brett W. McCoy said: >sub int_handler { > $SIG{INT} = \int_handler; > warn "Sorry, can't do that here!\n"; >} > >$SIG{INT} = \int_handler; That should be \&int_handler, to be safe. -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia

Re: Disable ctrl-c possble?

2001-11-12 Thread Brett W. McCoy
On Mon, 12 Nov 2001, Jeff 'japhy' Pinyan wrote: > >sub int_handler { > > $SIG{INT} = \int_handler; > > warn "Sorry, can't do that here!\n"; > >} > > > >$SIG{INT} = \int_handler; > > That should be \&int_handler, to be safe. Yeah, better safe than sorry. :-) -- Brett

rename((1,2) and file permissions

2001-11-12 Thread David Gilden
Hello, what is causing the renamed file to take permissions of 755 instead of 644? -- am I doing this correctly -- there will be only one user of the script .. do I need 'file lock' here? Thanks to Bob Showalter for the formatting info on 'strftime' "man 3c strftime" --> http://www.cs.princeton

Can perl dynamically modify images?

2001-11-12 Thread Joelmon2001
Hello, I know php can do this can perl take an image, and write text over it dynamically? I use linux and perl 5.+ on raq 3 Would this require a gd library? Is this possible? Thanks :) Joel

Re: Can perl dynamically modify images?

2001-11-12 Thread Etienne Marcotte
perlmagick can do that too www.imagemagick.org/www/perl.html Etienne [EMAIL PROTECTED] wrote: > > Hello, I know php can do this > > can perl take an image, and write text over it dynamically? > > I use linux and perl 5.+ on raq 3 > > Would this require a gd library? > > Is this possible? >

Re: Can perl dynamically modify images?

2001-11-12 Thread Michael D. Risser
On Monday 12 November 2001 04:09 pm, [EMAIL PROTECTED] rambled: > Hello, I know php can do this > > can perl take an image, and write text over it dynamically? > > I use linux and perl 5.+ on raq 3 > > Would this require a gd library? > > Is this possible? > > Thanks :) > > Joel This is VERY poss

Re[2]: Disable ctrl-c possble?

2001-11-12 Thread jpf
thanks all, sorry about sending to wrong list. BWM> (Not sure why you sent this to the beginners-cgi list, so I have BWM> redirected to the beginners list) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Can perl dynamically modify images?

2001-11-12 Thread Joelmon2001
Thanks, Etienne, I have a q for you/all. Does this come with documentation on how to use perl to use it? (Where to find code to play with it) And can image magic installation on linux be as simple as untar ../compile make make install ? Thanks, great resource I am checking now, but Can't find t

Inheriting C-shell variables when running cronjobs

2001-11-12 Thread Glenn Thomson
I use a lot of C-shell and Perl scripts that are run by the crontab command (under Linux). I have my path variables set up in my .cshrc file. Thus when I run a perl script from the command line (c-shell) I can inherit these path variables using the $ENV{C-SHELL ENV VARIABLE NAME} construct. The p

Using PERL to script into a UNIX telnet session

2001-11-12 Thread Erik Jacobsen
I am looking for a way to use PERL to script into a open telnet session. The script would be executing on a Redhat 7.1 Box. I have played with system keyword, but it seems that that is for calling one specific proccess. Any help would be appreciated. Thanks Erik Jacobsen [EMAIL PROTECTED] -

Run away processes.

2001-11-12 Thread SAW
Hello group. I just upgraded from Windows 98 to Windows 2000 Professional and I need to know how to kill runaway perl.exe processes. When I try to kill them in task manager I'm told that I'm not allowed to do this. Any ideas? Also, can anyone see any reason that this would not work? $done =

Re: Run away processes.

2001-11-12 Thread A. Rivera
Wouldn't it be more beneficial to stop them from running away in the first place? - Original Message - From: "SAW" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 12, 2001 2:06 PM Subject: Run away processes. Hello group. I just upgraded from Windows 98 to Windows 20

Redirecting STDERR to 2 locations simultaneously

2001-11-12 Thread Peter Cline
>I have been trying to figure out if it possible to redirect STDERR to 2 >locations at once. Specifically, I want certain errors to be redirected >to both STDOUT and a log file. I have been unable to do this, and am not >even sure it is possible. > >Redirecting to one or the other is now pro

Re: Redirecting STDERR to 2 locations simultaneously

2001-11-12 Thread Peter Cline
At 05:24 PM 11/12/01 -0500, you wrote: >>I have been trying to figure out if it possible to redirect STDERR to 2 >>locations at once. Specifically, I want certain errors to be redirected >>to both STDOUT and a log file. I have been unable to do this, and am not >>even sure it is possible. >>

getline() and while loops

2001-11-12 Thread Wright, Thomas
Hi folks, I am misunderstanding something about getline() and while loops. I get the following error message with the script below: Can't locate object method "getline" via package "IO::Handle" at find_uniq_rec_4 ..pl line 38, chunk 1. But I can not figure out what is wrong to cause it. I

Re: Run away processes.

2001-11-12 Thread Jonathan E. Paton
Hi, Assuming your code algorithm is okay (although some named constants or comments might be nice)... if you are using both warnings and the 'use strict' pragma then most errors become obvious. > while (@row = $sth2->fetchrow_array && $done == 0) while (@row = $sth2->fetchrow_array() and $done

regex problem

2001-11-12 Thread Kris G Findlay
question if i have $data = "http://user:[EMAIL PROTECTED]\nhttp://www.someothersite.com"; and run regex $data =~ http:\/\/(.*?):(.*?)@(.*?)/g how do i stop it from being so greedy and take the whole line ? -- --- K.G.Findlay [EMAIL PROTECTED] Knight Shift (We

What is happening here...?

2001-11-12 Thread Daniel Falkenberg
Hi all, Below is a chunk of code that I don't really know what's going on? Could some one give me a few ideas? perl -F: -i -ape'$F[3] == 45 && s/^/*/' /etc/passwd Regards, Dan == VINTEK CONSULTING PTY LTD (ACN 088 825 209) Email: [EMAIL PROTECTED] WWW:http://w

Can I issue this from an actual script?

2001-11-12 Thread Daniel Falkenberg
Hi all, Can this code below be issued from an actual perl script? perl -F: -i -ape'$F[3] == 45 && $_ =~ /^test/ && s/^/*/' /etc/passwd regards, Dan == VINTEK CONSULTING PTY LTD (ACN 088 825 209) Email: [EMAIL PROTECTED] WWW:http://www.vintek.net Tel:(08) 8

Re: What is happening here...?

2001-11-12 Thread Curtis Poe
--- Daniel Falkenberg <[EMAIL PROTECTED]> wrote: > Hi all, > > Below is a chunk of code that I don't really know what's going on? > Could some one give me a few ideas? > > perl -F: -i -ape'$F[3] == 45 && s/^/*/' /etc/passwd > > Regards, > > Dan Dan, Here's a list of the command line switches

RE: What is happening here...?

2001-11-12 Thread Daniel Falkenberg
Curtis, Cheers for that that makes alot more sense now :). Yes your are correct about the /etc/passwd file. It's all well and good to be able to issue that command from a command line, but what if I wanted to issue the exact same code but from a script? Regards, Dan Dan, Here's a list of th

Re: Inheriting C-shell variables when running cronjobs

2001-11-12 Thread Garry Williams
On Mon, Nov 12, 2001 at 09:44:57AM -0400, Glenn Thomson wrote: > I use a lot of C-shell and Perl scripts that are run by the crontab > command (under Linux). I have my path variables set up in my .cshrc > file. Thus when I run a perl script from the command line (c-shell) > I can inherit these p

RE: What is happening here...?

2001-11-12 Thread Curtis Poe
--- Daniel Falkenberg <[EMAIL PROTECTED]> wrote: > Curtis, > > Cheers for that that makes alot more sense now :). Yes your are correct > about the /etc/passwd file. It's all well and good to be able to issue > that command from a command line, but what if I wanted to issue the > exact same code

Re: What is happening here...?

2001-11-12 Thread John W. Krahn
Daniel Falkenberg wrote: > > Curtis, > > Cheers for that that makes alot more sense now :). Yes your are correct > about the /etc/passwd file. It's all well and good to be able to issue > that command from a command line, but what if I wanted to issue the > exact same code but from a script?

Re: extracting between tags

2001-11-12 Thread Andrea Holstein
Steve Tattersall wrote: > > Please help I am trying to extract the line begining with GB and also the > Title between html tags from multiple html files. > > For example I want to extract the line: (see the html code below) > GB 0152 MSS.126/NUDL > > and also the title which is: > > National

RE: regex problem

2001-11-12 Thread Gibbs Tanton - tgibbs
Seems like to me you should just change the last capture to be [^\n] as in $data =~ /http:\/\/(.*?):(.*?)@([^\n]*?)/g; or something like that. -Original Message- From: Kris G Findlay To: [EMAIL PROTECTED] Sent: 11/12/2001 5:04 PM Subject: regex problem question if i have $data = "htt

Re: extracting between tags

2001-11-12 Thread Chris Ball
On Mon, 2001-11-12 at 16:31, Steve Tattersall wrote: > For example I want to extract the line: (see the html code below) > GB 0152 MSS.126/NUDL > > and also the title which is: > > National Union of Dock, Riverside and General Workers in Grea > t Britain and Ireland > > does anyone know how to

Re: regex problem

2001-11-12 Thread Garry Williams
On Mon, Nov 12, 2001 at 07:14:42PM -0600, Gibbs Tanton - tgibbs wrote: > Seems like to me you should just change the last capture to be [^\n] as in > > $data =~ /http:\/\/(.*?):(.*?)@([^\n]*?)/g; > > or something like that. I haven't followed the whole thread, but `[^\n]' is exactly the same a

Re: What is happening here...?

2001-11-12 Thread John W. Krahn
"John W. Krahn" wrote: > > Daniel Falkenberg wrote: > > > > Curtis, > > > > Cheers for that that makes alot more sense now :). Yes your are correct > > about the /etc/passwd file. It's all well and good to be able to issue > > that command from a command line, but what if I wanted to issue the

Re: [PBML] Re: explanation needed on sort using {$a<=>$b}

2001-11-12 Thread EternalLifeThereAfter
Thanks to Charles, Jonathan and Members ! I found out that if the original list in the array is not well sorted, then sort "spaceship" will compare the number of times based on the number of list in that element, for eg 3 elements will permutate to 3 times, 4 elements will permutate to 6 times et

Re: Can I issue this from an actual script?

2001-11-12 Thread Peter Scott
At 10:36 AM 11/13/01 +1030, Daniel Falkenberg wrote: >Hi all, > >Can this code below be issued from an actual perl script? > >perl -F: -i -ape'$F[3] == 45 && $_ =~ /^test/ && s/^/*/' /etc/passwd That's a very good question. Naturally, the answer is Yes. One way we can 'cheat' is to use B::Depar

Re: Redirecting STDERR to 2 locations simultaneously

2001-11-12 Thread Peter Scott
>I have been trying to figure out if it possible to redirect STDERR to 2 >locations at once. Specifically, I want certain errors to be redirected >to both STDOUT and a log file. I have been unable to do this, and am not >even sure it is possible. > >Redirecting to one or the other is now pro

RE: Off-Topic (200%) - Where are you from?

2001-11-12 Thread Robert Graham
Good morning from Pretoria, in sunny South Africa > By reading the messages everyday I can guess most of us are from United > States right? And since there are not a lot of messages in (my) morning > time, probably means most are from the west coast (different timezone). > > Am I right? > > I'm

Re: Off-Topic (200%) - Where are you from?

2001-11-12 Thread Neil Fryer
And greets from Johannesburg in South Africa as well. Regards Neil Fryer [EMAIL PROTECTED] On Tuesday 13 November 2001 09:21 am, Robert Graham wrote: > Good morning from Pretoria, in sunny South Africa > > > By reading the messages everyday I can guess most of us are from United > > States right

log file

2001-11-12 Thread nafiseh saberi
hi. I work with log file , for write accounting program for one ISP. (router build log file for me ) can do I do this work under database and how ?? thx. Truly yours. Try to have simple habits and deep thoughts.