in reply to Re: Its a pretty simple question.. though embarassed to ask but i am totally new in perl
in thread Its a pretty simple question.. though embarassed to ask but i am totally new in perl

Also, check the return status of your open statements

That is what autodie does for the OP

  • Comment on Re^2: Its a pretty simple question.. though embarassed to ask but i am totally new in perl (autodie)

Replies are listed 'Best First'.
Re^3: Its a pretty simple question.. though embarassed to ask but i am totally new in perl (autodie)
by Laurent_R (Canon) on Aug 13, 2013 at 16:40 UTC

    Right, I did not notice the use autodie statement.