Hello. I am the guy who posted the question. WOW, I didn't
expect so many replies in such a short time...I thank
you for all your advice but I would like to point out
that:
1. Yes, print ">$_"; prints a perfectly good path.
2. I don't care for security so far, all I want to
understand is why when I enter ,say, myfile.html in a
form,
it UNDERSTANDS it, spits it out at the print ">$_"; line,
and seems to behave PERFECTLY WELL ..EXCEPT when it gets to
the open file line.
Thanx for the debugging tips though, I will examine each
reply very careful. I think with all that new info, It will
be pretty easy to debug it. Averall I like Perl
very much. Reminds me a lot of C (my favorite language of all time.)
Eugene
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.