Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: appending data to a file

by graff (Chancellor)
on Feb 14, 2008 at 03:34 UTC ( #667875=note: print w/replies, xml ) Need Help??


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:

open (writefile, ">>",$target_full_path) {
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.)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://667875]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2020-10-26 08:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (250 votes). Check out past polls.

    Notices?