Hi Sveta,
On Sun, 6 Oct 2013 14:21:38 +0000
Svetlana Degtiar <[email protected]> wrote:
>
>
> Hi,
>
>
>
> Sure, something simple.
>
>
>
> $Session-> {"test"} ="test1";
>
> Print STDERR Dumper ($Session);
>
I tried this Apache::ASP program now on my Mageia Linux Cauldron system:
[QUOTE]
<%
use Data::Dumper qw(Dumper);
$Session->{"test"} ="encrusted_salt_with_green_peppers";
print STDERR Dumper ($Session);
%>
[/QUOTE]
And I got the string in the log:
[root@telaviv1 eg]# grep -n encrusted /etc/httpd/logs/error_log
544: 'test' => 'encrusted_salt_with_green_peppers'
A few notes:
1. I imported Data::Dumper.
2. I changed "Print" to "print" (in all lowercase letters).
3. I've had to apply a fix to the change "remote_ip" to "client_ip" due to this
bug:
http://www.gossamer-threads.com/lists/modperl/asp/105442
I'm not sure how to further tries to help you as it "Works for me".
Regards,
Shlomi Fish
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
http://www.shlomifish.org/humour/ways_to_do_it.html
<rindolf> If you repeat a scene 50k times, then the movie will have less
entropy and will compress better. ( irc://irc.freenode.org/#perlcafe )
Please reply to list if it's a mailing list post - http://shlom.in/reply .
_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl