Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Multi process

by TomK32 (Monk)
on Dec 01, 2001 at 14:37 UTC ( [id://128851]=note: print w/replies, xml ) Need Help??


in reply to Multi process

WildThing did a nice comment, but he not only mixed refresh with reset but also the redirect can be done better.
#!/usr/bin/perl use CGI qw(:standard); if (param('othersite')) { redirect('http://www.tomk32.de'); } elsif (param('script')) { print param('data'); #or do some magic } else { print start_html(), start_form(), textfield('data', $data), submit('script'), submit('refresh'), submit('othersite'), end_form +, end_html(); }
-- package Lizard::King; sub can { do { 'anything'} };

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-19 05:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found