Scalars Leaked

Discussion in 'Perl Misc' started by Bernard Chan, Jan 16, 2006.

  1. Bernard Chan

    Bernard Chan Guest

    Hello,

    I am pretty new to Perl 5.8 ithreads. I have written a simple threaded
    script to generate a flow of data insert into MySQL database for
    benchmarking purpose. Before I added the Thread::Running parts of the
    script, there was no warnings. But after I had those parts in, there
    comes some warnings "Scalars Leaked: 1". The script in question is attached.

    I have searched the archives and most responses I have seen in regard to
    this warning was that it was mostly harmless, though I am still
    interested to know if this can be fixed and if there are any techniques
    to hunt down such occurrences if that is an err in my programming in
    future projects. If anyone may point me to any documentation on this, I
    will also highly appreciate that.

    Thank you very much in advance.

    Regards,
    Bernard Chan.
    Bernard Chan, Jan 16, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    1
    Views:
    448
    Bob Hairgrove
    Feb 19, 2004
  2. Replies:
    0
    Views:
    383
  3. Jane Austine
    Replies:
    2
    Views:
    338
    Steven Taschuk
    Jul 2, 2003
  4. niry
    Replies:
    5
    Views:
    108
  5. AMLiapunov

    Scalars Leaked and Segmentation Fault

    AMLiapunov, Feb 21, 2006, in forum: Perl Misc
    Replies:
    1
    Views:
    108
    zentara
    Feb 23, 2006
Loading...

Share This Page