![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
Re: Just before subroutine returnsby Athanasius (Archbishop) |
on Aug 29, 2017 at 06:32 UTC ( #1198247=note: print w/replies, xml ) | Need Help?? |
Hello solegaonkar, Try the End module. Here’s a trivial example:
Output:
Note that the assignment to $x is needed here, because of the way End works, even though the value of $x isn’t used. Hope that helps,
In Section
Seekers of Perl Wisdom
|
|