Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Perl program will not retrieve data from file

by davido (Archbishop)
on Sep 20, 2012 at 21:24 UTC ( #994761=note: print w/replies, xml ) Need Help??

in reply to Perl program will not retrieve data from file

You need to do a little more work. This isn't a one-on-one email support forum.

First: Are you accessing a database, or reading a file? Your question is unclear on that point.

Second: Post 25 lines of code that demonstrates your code's inability to retrieve data. Be sure to replace actual database login credentials with some placeholders in your post, for your own security. The code needs to be capable of compiling, unless your question is specifically about why it's not compiling.

Third: Post what the expected output is, and what output you're getting (including error messages). If you're not getting any error messages, investigate why.

Once you're ready to provide that information we'll be able to provide useful help.

Update: So you have now posted code. But instead of reducing your problem down to 25 lines of runnable code that we can use to demonstrate to ourselves the problem, you dumped on us 160 lines of code that doesn't compile. Laziness demotivates many of us.


  • Comment on Re: Perl program will not retrieve data from file

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://994761]
[perldigious]: Ah, thanks choroba, that sort of thing was precisely what I was wondering when I asked.
[perldigious]: I didn't want to tie up memory unecessarily basically, I wanted to "delete" it specifically to free it up, and wasn't sure I was even accomplishing that.
[stevieb]: perldigious You should start by writing some unit tests. That'll ensure current functionality doesn't break with changes.
[choroba]: unit tests++
[choroba]: The only problem you can't solve by adding more tests is the problem of having too many tests.

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2017-07-21 20:00 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (335 votes). Check out past polls.