in reply to reading files and cgi
Also, from this node, here is a code snippet for reading in a file:
Here are a few more nodes to look at on the subject. Another thing to look into might be File::Slurp? And never forget (as I was recently reminded by The Footpad *grin*) - supersearch is your friend!open (INPUT, $filename) || die "Can't open $filename: $!"; while (<INPUT>) { hack($_); slice($_); dice($_); vacuum_seal($_); } close INPUT || die "Wow, we're in for it now: $!";
|
|---|