Stupid figging Perl. I have wasted way
too much time today playing around with it. And I am so, SO close with
it too! Grrr... My problem is that I have to "untaint" an input from
a user before I do something with it. Makes sense. So, all I have to
do a run a regular expression on it. Again, makes sense to me. And do
you think that I can do that okay? No. I think that I am running it
correctly, but I can't get the answer back. I have a cgi/Perl book, and
they say: Note that because the result of the regular expression is a
list, you must include the parentheses around $filename to evaluate it in
a list context.. I am doing it. And I am getting the error that they
said that I would get if I didn't include the stupid brackets! Ahhh!!
*sigh* I think that I should just stop and study for my exam tomorrow.
I think that it would be a good idea... but it ticks me off because I am
SO close!!! :-(
Listening to: Sum 41 - In Too Deep
No comments:
Post a Comment