I have some problems with perl subroutines, or being more specific, I cannot figure out why they are not working as they should.
Here is a tiny code snippet as a sample:
I was hoping that output would be the string 'hellohello', but turns out there is no output at all. I run the script and nothing happens. No errors, no warnings, nothing.
Where is the catch or what am I doing wrong? I'd really like to understand the subroutine's logic.