Re: hash

2002-08-31 Thread Mark Goland
Thanx guys both of yoru techniques work, what exactly does the function map do I cant understand. Thanx Mark - Original Message - From: "Janek Schleicher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 31, 2002 4:18 AM Subject: Re: hash > Mark Goland wrote at Sat, 31

cookies and baking in general :)

2002-08-31 Thread Mariusz
How can I check if a user accepts cookies before he starts using my shoppingcart? I know I could set a cookie on page nr1 and then check if it exists on page nr2; but how do I know on which page he arrives first (which one would be then the page nr1)? thank you, Mariusz

IO::Socket problem how to receive data?

2002-08-31 Thread anthony
Hi, I'm trying to learn IO::Socket and i have a little problem is that i DO NOT know how to receive data i use the recv function but doesn't work at all. I know how to send data- I know it works because it is a visual basic program that receives the data and it displays the correct data. But I

Re: DBI script won't run as cron job

2002-08-31 Thread jbajin
Martin, I run into the same problem all the time. The best way I fix it is to load the profile before I execute the the script. What everyone is saying will work for you but it'll take some time to find everything.. Just try sourcing your .profile in before you run the program and it'll w

Re: Closures / Memory Usage

2002-08-31 Thread drieux
On Saturday, August 31, 2002, at 05:28 , Gfoo wrote: > A question regarding closures used as function templates: [..] I think you present a cogent argument - but, perchance you might want to think about an OO style solution - although I do not wish to sound too felixian in this. cf: http://www

Closures / Memory Usage

2002-08-31 Thread Gfoo
Hello all... A question regarding closures used as function templates: Assume the following program #1: use strict; my $food; $food->{cat}->{young} = 'fish'; $food->{dog}->{young} = 'bones'; $food->{dog}->{senior} = 'meat'; f

Re: hash

2002-08-31 Thread Janek Schleicher
Mark Goland wrote at Sat, 31 Aug 2002 13:26:02 +0200: > hi guys, I am trying to extractract a string and use it as a hashkey. Here > is an example of what I mean; > > input: > ad0: hard drive > fd0: floppy drive > xl:network card Sometimes a simple colon ':', sometimes a colon + blank ': ' ?!

hash

2002-08-31 Thread Mark Goland
hi guys, I am trying to extractract a string and use it as a hashkey. Here is an example of what I mean; input: ad0: hard drive fd0: floppy drive xl:network card How I would liek the hash to be assigned; hash{ad0}="hard drive" hash{fd0}="floppy drive" hash{xl}="network card" Can some one pleas