Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: CGI::Ajax No head/html tags, nowhere to insert. Returning javascript anyway.

by Anonymous Monk
on Sep 01, 2013 at 18:26 UTC ( #1051839=note: print w/ replies, xml ) Need Help??


in reply to Re^2: CGI::Ajax No head/html tags, nowhere to insert. Returning javascript anyway.
in thread CGI::Ajax No head/html tags, nowhere to insert. Returning javascript anyway.

Doctor Doctor it hurts when I do this, but it doesn't hurt when I don't do it

Ok then :)


Comment on Re^3: CGI::Ajax No head/html tags, nowhere to insert. Returning javascript anyway.
Re^4: CGI::Ajax No head/html tags, nowhere to insert. Returning javascript anyway.
by msinfo (Sexton) on Sep 01, 2013 at 18:38 UTC

    ;-) If it's not humor, then, I didn't understand

    So can other Perl statements be inserted into above code?

        do { if( ... ) { ...; $return->last_statement; } }

        extra parenthesis -MO=Deparse,-p style

        ( ( if_condition_true() ) ? ( then_return_this() ) : ( else_return_this() ) )

        :D

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (13)
As of 2015-07-01 18:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (16 votes), past polls