Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Mysterious append failure.

by gothic_mallard (Pilgrim)
on Dec 09, 2004 at 12:33 UTC ( #413496=note: print w/replies, xml ) Need Help??

in reply to Mysterious append failure.

I came across this same thing yesterday while trying to do a one-line append loop. I thought it was something to do with the my - possibly re-initialising on each loop?

Haven't got to the bottom of it yet and basically ended up doing like you have in the second example (declare the variable and then do the loop seperately).

--- Jay

All code is untested unless otherwise stated.
All opinions expressed are my own and are intended as guidance, not gospel; please treat what I say as such and as Abigail said Think for yourself.
If in doubt ask.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2022-05-16 09:53 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (62 votes). Check out past polls.