Keep It Simple, Stupid | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Even better with the open is to use the three parameter variant and lexical file handles:
which makes the open mode explicit (and avoids a potential injection attack), and gives all the strictly goodness advantages from using the lexical file handle. Oh, and don't interpolate a single variable ("$loc") - there is no need and clutters the code.
True laziness is hard work
In reply to Re^2: Perl Program works on local machine, not over network?
by GrandFather
|
|