I have what seemed to me at first, a very simple question that would seemingly (and may still have) a trivial solution. However, I cannot find the information for this question anywhere--
I am making a simple cgi script that retrieves webpages written in PERL. I wanted to fetch them through a proxy server for the heck of it, but could not find out how. I've looked all over and the problem became more and more annoying to a point now that I HAVE to find the solution soon to keep my sanity. ! :)
I figured it would be something simple such as add the proxy addr and port somewhere in the header, but I can't find any information about it of course.
THe script works without proxys, that's not a problem. Just need the snippits that will allow a proxy connection and I'll be a happy camper.
I never looked at the DBI:proxy module and don't know if this will help. It may be the solution i'm avoiding, just looking for the simple answer.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.