Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^2: session script

by rjsaulakh (Beadle)
on Jun 08, 2005 at 14:01 UTC ( #464699=note: print w/ replies, xml ) Need Help??

in reply to Re: session script
in thread session script

the following code poses some syntax error need some help

printf <<TEST, join ( "<BR>\n", map { $_ . " -&gt; " . $cookies{$_} } sort +keys %cookies ); %s TEST

Comment on Re^2: session script
Download Code
Replies are listed 'Best First'.
Re^3: session script
by wfsp (Abbot) on Jun 08, 2005 at 14:21 UTC
    #!/usr/bin/perl use strict; use warnings; my %cookie = ( one => 1, two => 2, ); for my $key (sort keys %cookie){ my $value = $cookie{$key}; print "$key $value </br>\n"; }

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://464699]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2015-11-27 13:01 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (729 votes), past polls