in reply to Re: appending data to a file
in thread appending data to a file
So, for starters, you might have consulted the documentation (perldoc -f open) to check the syntax of open-append:open (writefile, ">>,$target_full_path") {
Um, the OP actually started with:
which is a perfectly acceptable use of the 5.8 "three-arg open" calling style, so that's not the problem, and there's no need to "fix" it. (I would object to the use of an all-lower-case bareword for the file handle -- either make ALLCAPS or else use a "my" variable for that -- but that's a separate matter.)open (writefile, ">>",$target_full_path) {
In Section
Seekers of Perl Wisdom