Re: counting differently

2004-02-23 Thread intertwingled
[EMAIL PROTECTED] wrote: Is there a way to force a variable to walk through the alphabet the way it can numbers? ie: for numbers: $k=0; $k=$k+1; would give you 1 for letters $k='a'; $k=$k+1; this won't give you 'b'; but is there any way of doing this that will?

Re: counting differently

2004-02-23 Thread intertwingled
intertwingled wrote: [EMAIL PROTECTED] wrote: Is there a way to force a variable to walk through the alphabet the way it can numbers? ie: for numbers: $k=0; $k=$k+1; would give you 1 for letters $k='a'; $k=$k+1; this won't give you 'b'; but is there any way of doing

Re: (no subject) Anyone understand this message

2004-02-08 Thread intertwingled
He's probably trying to unsubscribe from the mailing list. [EMAIL PROTECTED] wrote: Copied below.. [EMAIL PROTECTED]

Re: Hitting memory limit, or paging problem?

2004-01-21 Thread intertwingled
Try tieing the hashes to a database. Scheidel, Greg (Contractor) wrote: I'm running a pretty general 'log processing' Perl script, where I open log files one at a time, read the lines, parse them and update counters, then close and read the next log file. The hash I'm storing data in can grow

Re: 64 or 32 bits pltaform ?

2003-12-12 Thread intertwingled
use integer; then try some integer math and see how big you can make your integers before they go negative. =) Tony Thomas Drugeon wrote: Hi, Is there a way to know if the Perl interpreter running the script was compiled for 64 bits? I want to use 'vec' with a number of bits of 64, but it

Re: trigonometrics

2003-12-10 Thread intertwingled
I remember reading somewhere (probably it was on Slashdot), that Microsoft has abandoned POSIX compliance in Windows. I don't know how this might affect the Perl POSIX module. Tony Dave Crawford wrote: What do you mean by a clean build. Wasn't the Posix module included in your basic build?

Re: Perl HTTP/HTML User-agent for the Visually Impaired

2003-11-19 Thread intertwingled
Really, your time could be better spent working on a cure for blindness. Tony Lee Goddard wrote: | From: James Brown [mailto:[EMAIL PROTECTED] | | Thank you for the great info, I wasn't expecting so much help! You're welcome. | I will look into PerlTK as listening to events is what I'm |

Re: Date from string

2003-06-11 Thread intertwingled
[EMAIL PROTECTED] wrote: The beauty of a hash: my $mth; for my $i ( %month ) { $mth = $month{$i} if $i == $month; } Is access. $month will be treated as a string here: $mth = $month{$month}; A good idea would've been to name the hash %months, plural, as it has multiple months in

Re: slurping in win xp vs hpux

2003-06-09 Thread intertwingled
Must be that 15 lines of SCO codes that makes all the difference here. Tony Beau E. Cox wrote: - Original Message - From: $Bill Luebkert [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 09, 2003 3:37 AM Subject: Re: slurping in win xp vs hpux Ron Hartikka wrote: I

Re: Test, please disregard.

2003-05-29 Thread intertwingled
Worked for me. Tony Juan Carlos Cruz Dada wrote: Sorry for this email, but the list has been rejecting my posts. regards,- Juan Carlos Cruz Dada Senior Developer Cital Web Solutions -- Even the safest course is fraught with peril.

Re: Why is PHP popular?

2003-05-29 Thread intertwingled
used to be a baby too. The point is that Perl 5 is a mature scripting language now. PHP is still in flux. Python and Ruby are also out there. Perl 6 is in orbit somewhere outside of Pluto. Tony Mark Mielke wrote: On Wed, May 28, 2003 at 10:22:18AM -0700, intertwingled wrote: viktoras wrote

whatever happened to Visual Perl

2003-03-26 Thread intertwingled
What ever happened to Visual Perl for Microsoft Visual Studio (which is now .NET, or something, I guess.) I thought Activestate was working on a Visual Perl. Was that just a rumour, or an urban legend, or what happened? I see ActiveState elves here. Will they not speak? Thanks, Tony --

Re: Opening all ports on a Windows NT system

2002-10-04 Thread intertwingled
At 06:55 AM 10/2/02 -0400, you wrote: I need the smallest perl snippet that will open (or attempt to open) ALL 65535 tcp ports on a Windows NT system. I'd like to use it with slight variation to open all UDP ports too. I'm testing a personal firewall, and will be looking at this system from a

RE: regular expression question

2002-10-02 Thread intertwingled
It's 6:15 AM in Phoenix, Arizona and I am heading out for a regular expresso. Tony At 02:42 PM 10/2/02 +0200, you wrote: Hi, In my opinion, it's easier with a split : my $email = (split (';',$str))[0]; If you want to use your regex $email = $1 if ($str =~

Re: Perl Security

2002-09-30 Thread intertwingled
At 06:30 PM 9/30/02 +0100, you wrote: Hi there How safe are perl scripts Is it possible to read a script from the webserver via the web. -roger ___ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe:

perl drawbacks? nope!

2002-06-18 Thread intertwingled
Perl is the most powerful and far-reaching computer language ever devised by the mind of man. Period. -- even the safest course is fraught with peril ___ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe:

capturing (redirecting) STDERR in windows

2002-05-04 Thread intertwingled
On most *nix shells, I can use 21 to redirect standard error to standard output, and thus capture it when I do a `` or open(BLAH, blah 21 |), but 21 doesn't work under DOS. Anyone know of another trick to easily capture standard error output, without saving it to a temp file? Thanks, Tony --

Re: setruid?

2002-04-25 Thread intertwingled
At 11:50 AM 4/25/02 -0700, you wrote: Hello everyone, I am very new to Perl and to computer programming in general, but have been amazed at all the cool stuff that it can do. Perl is the most powerful and far-reaching computer language ever devised by the mind of man. Recently I've been