Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Modperl2 + mpm_event + seemingly forgotten global vars

by shmem (Chancellor)
on Mar 28, 2017 at 20:15 UTC ( [id://1186282]=note: print w/replies, xml ) Need Help??


in reply to Modperl2 + mpm_event + seemingly forgotten global vars

Hmm...

if(!$obj) { $obj = {one => 1}; ... $r->print('mod_perl rules!' . $obj->{1});

You probably meant

$r->print('mod_perl rules!' . $obj->{one});

or vice versa.

Is that hashref $obj being used elsewhere in your code?

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Replies are listed 'Best First'.
Re^2: Modperl2 + mpm_event + seemingly forgotten global vars
by spellila (Initiate) on Mar 29, 2017 at 10:46 UTC
    Yeah, thanks. Was my fault, i corrected it.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-18 00:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found