in reply to Re: Problem in private package
in thread Problem in private package

chromatic
It really worked..any idea why this worked and not the other
-Prasanna.K

Replies are listed 'Best First'.
Re^3: Problem in private package
by chromatic (Archbishop) on Oct 29, 2008 at 17:48 UTC

    Without seeing the actual error message, I can only guess that you already have a new function declared in the current package earlier in the file than this code, and Perl's calling that new instead of Deliv's new function.