Re: Getting Segmentation fault

[email protected] ("Chas. Owens")
Newsgroups perl.beginners
Message-ID <[email protected]>
On Wed, May 28, 2008 at 2:58 AM, Rajnikant
<[email protected]> wrote:
snip
> Could someone please help me out finding whats wrong in code?
> Thanks in advance.
snip

Without looking at the code in detail I would bet that the module is
not thread safe.  Try creating the Net::SFTP objects inside the
thread.

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.