Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Preparing data for Templateby 1nickt (Canon) |
on Dec 30, 2020 at 23:50 UTC ( [id://11126018]=note: print w/replies, xml ) | Need Help?? |
Hi, "I'm not sure when list_frames is supposed to get called..." It won't get called unless you call it ;-)
This creates a reference ... To simply call the sub you just want:
See also: https://www.oreilly.com/library/view/advanced-perl-programming/1565922204/ch04.html Hope this helps!
The way forward always starts with a minimal test.
In Section
Seekers of Perl Wisdom
|
|