Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Unexpected deletion of data using > operator

by JavaFan (Canon)
on Dec 07, 2008 at 17:09 UTC ( #728743=note: print w/replies, xml ) Need Help??


in reply to Unexpected deletion of data using > operator

Considering that in your code fragment, @customerarray is empty (there's no code that initializes it), I'm not surprised you end up with an empty file.

Furthermore, you don't initialize $timestamp either. Perhaps you do the initialization of the variables elsewhere in your program, but these values are essential in understanding why things go wrong. So, don't leave out that code.

  • Comment on Re: Unexpected deletion of data using > operator

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2023-12-02 01:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (13 votes). Check out past polls.

    Notices?