in reply to Re^2: How to give input and collect output of a perl script using another perl script
in thread How to give input and collect output of a perl script using another perl script

What is function of 1 at the end of test.pm ?

See Simple Module Tutorial, use, require

Query-2: Is it must to have a subroutine inside a module ?

Its like wheels on an automobile, its not a must, but the car won't roll otherwise

and the script doesn't work !

What does that mean? How do I post a question effectively?

  • Comment on Re^3: How to give input and collect output of a perl script using another perl script

Replies are listed 'Best First'.
Re^4: How to give input and collect output of a perl script using another perl script
by chakreey (Acolyte) on Mar 23, 2011 at 15:57 UTC

    and the script doesn't work !

    What does that mean? How do I post a question effectively?

    I updated my reply. Hope, my query is more meaningful now. btw, thanks for directing me to those links !

      Please note that when you make a substantive change to a node, especially if it pertains to something a reply node refers to you should add an update line like:

      Update: added a sample update line.

      True laziness is hard work