vincent pit ogkfprofvincecom dmwnosttbmx cat cat tmpzpl use strict sub bar 1 return block return 1 1 1 1 sub foo 1 return block return 1 1 print foo said foon print bar said barn __end__ dmwnosttbmx perl tmpzpl foo said 1 bar said originally posted httpperlmonksorgnode_id648681 reply moritz said tested blead revision 32212 debian gnulinux 40 etch produces result looks like duplicate old 38809 turn warnings youll notice bar returns undef seems return context since changing return scalar fixes problem vincent pit thu 07 aug 2008 143122 0100 perl 47111 strange behaviour returning value possible perl bug