in reply to Undefined subroutine &main::func1 [SOLVED]

If you call func1 () from at the botbottom of your actual module, does it work?

Replies are listed 'Best First'.
Re^2: Undefined subroutine &main::func1
by thanos1983 (Parson) on Jun 28, 2015 at 02:56 UTC

    Hello stevieb,

    I did not think about that. I did test it and it does work inside the module, but again not from the script.

    Thank you for your time and effort.

    Seeking for Perl wisdom...on the process of learning...not there...yet!