in reply to Re: How can I see a CPAN module's print messagein thread How can I see a CPAN module's print message
carp "print message";
Also consider that Perl will load the first file TieRegistry.pm it finds in @INC. Inspect the values of %INC to find out which file Perl loaded, and which one you edited. See perlvar and Data::Dumper.
print Dumper \%INC;
That line will print because it's not in a sub. A line inside a sub can only print when that sub is actually executed.
(The exception to this rule being a line that is evaluated at compile time. But it would be unusual to do this.)
Bought a souvenir
Emailed all my friends about it
Got blowed up
Hit him right dead in the jaw
Made it awkward
Took a selfie
Want to go home
Results (347 votes). Check out past polls.