Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Greetings @CountZero, and thank you for your continued efforts.
Well, I see what the problem has been. Using the advice listed within this thread -- including my own thoughts, have all returned the POSTed data as $domain=blah..., instead of turning $domain into blah... -- which was what the title suggested ;).
So. I think the best idea will be to abandon the use of NET::DNS::*, and simply slurp the form input data, and pass it to my system via a:
read(STDIN,$temp,$ENV{'CONTENT_LENGTH'});.
This worked quite well for my whois script, and I was able to easily sanitize the input by filtering $temp before handing it off to the system itself.
Thanks again, to you, and everyone else who attempted to help me solve this problem.
Perhaps this dialog will help others who fall into this dilemna. :)
--Chris
#!/usr/bin/perl -Tw
use perl::always;
my $perl_version = "5.12.4";
print $perl_version;

In reply to Re^2: How to convert an @ARGV to form based input? by taint
in thread How to convert an @ARGV to form based input? by taint

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-04-24 06:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found