Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: print a backspace in nph-"HTML"?

by BUU (Prior)
on Dec 04, 2004 at 11:36 UTC ( #412386=note: print w/replies, xml ) Need Help??


in reply to print a backspace in nph-"HTML"?

Uh, no, you can't print a "backspace" to an html text area. The best you could do is some form of javascript, which I won't get in to here.

As for your second question, the if BLOCK form is the canoical and the best way to write that, but if it really offends your eyes you could try something like:  print "foo" and $count = 0 if ( cond ) or something similar. Of course, that won't set $count to 0 if the print fails, which might be a feature.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://412386]
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: (4)
As of 2023-12-09 12:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (38 votes). Check out past polls.

    Notices?