Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: session script

by rjsaulakh (Beadle)
on Jun 08, 2005 at 14:01 UTC ( [id://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
.

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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2024-04-23 08:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found