Pathologically Eclectic Rubbish Lister | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Why do you open the file using open? You don't seem to be using the file handle IN anywhere.
But, when opening it, you correctly specify the path as "Output/$in". You should do the same when tying the file:
Otherwise, it just creates a new file in the current directory, populates its first line, and that's it.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In reply to Re: Loop Through Files and Update Headers
by choroba
|
|