Re: Extracting links. - without modules

2005-01-17 Thread Alexander Blüm
On Sun, 16 Jan 2005 18:36:09 +0500 Sara [EMAIL PROTECTED] wrote: I am trying to extract links along with HTML tags a href=blah from a list, but it's not working on my XP machine with Active State Perl 5.0.6 Kindly help. # CODE START my @array = qq|

Re: CPU load/server resources.

2004-07-14 Thread Alexander Blüm
On Tue, 13 Jul 2004 15:30:36 -0600 Wiggins d Anconia [EMAIL PROTECTED] wrote: I had a script for which my previous host cancelled my account saying it's a resource hog and using more than 50% resources of the server (shared hosting). Yep, there were some faults in the script. I

Re: Data encryption

2004-05-14 Thread Alexander Blüm
On Fri, 14 May 2004 09:25:27 +0100 David Dorward [EMAIL PROTECTED] wrote: On 14 May 2004, at 08:33, Werner wrote: I've got a form that makes use of the GET method to provide the cgi script with details. My problem is that you can see all of the fields being posted. i.e. /people.cgi?

Re: Data encryption

2004-05-14 Thread Alexander Blüm
On Fri, 14 May 2004 09:55:15 +0100 David Dorward [EMAIL PROTECTED] wrote: On 14 May 2004, at 09:45, Alexander Blüm wrote: On Fri, 14 May 2004 09:25:27 +0100 David Dorward [EMAIL PROTECTED] wrote: On 14 May 2004, at 08:33, Werner wrote: I've got a form that makes use of the GET method

Re: Include Files in Perl?

2004-02-03 Thread Alexander Blüm
that doesn't sound too good. sounds like loading all into memory, split it up into arrays and then finally printing the contents to the browser. bleh! how aout this: #somewhere in the code: include(/includes/header.html); ... include(/includes/footer.html); ### subroutine sub include{ my

remote host name

2003-09-14 Thread Alexander Blüm
hello, as my subject indicates, I'm looking for a way of resolving the remote hostname. any system command will do too... I'm planning to write a small script that simply tells the connecting user, which DNS name he has, since my localnet is equipped with a dhcp server the clients usually get

Re: Date to seconds

2003-09-11 Thread Alexander Blüm
Li, Kit-Wing wrote: Hi, Does anybody know of a quick method in perl to turn a date string into its equivalent in seconds, include milliseconds if possible? Ex: 20030910 13:50:25.6 to 1063202644. Thanks much! starting when? I mean, you 1063202644 seconds, and these are 33years : 37weeks :

md5

2003-07-11 Thread Alexander Blüm
hello I ran into an odd problem, that I cannot explain to myself... I use mod_perl 1.27 and apache 1.3.27... the commandline script works perfectly: perl -mDigest::MD5 -we 'print new Digest::MD5-md5_hex(lol).\n' returns fe5608e20902819328733f5e672b6af6 each time I run the script. ok... I added

Re: md5

2003-07-11 Thread Alexander Blüm
I solved the problem... not using OO-style, but function-style. like this: ... use Digest::MD5 qw(md5_hex); ... $r-print( pre$pw -gt; .md5_hex($pw)./pre ); ... *tadaa* Alexander Blüm wrote: hello I ran into an odd problem, that I cannot explain to myself... I use mod_perl 1.27 and apache