![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: How can I see a CPAN module's print messageby live4tech (Sexton) |
on Jan 06, 2013 at 08:39 UTC ( #1011850=note: print w/replies, xml ) | Need Help?? |
If this code is in a package called "TieRegistry", you will not see the output from print statements outside of any methods (subroutines) in that module just by typing "use TieRegistry" If the print statements are in a subroutine in the package TieRegistry:
And then in your main program, after "use TieRegistry", you had:
The line "my print message" would print.
In Section
Seekers of Perl Wisdom
|
|