Syntactic Confectionery Delight | |
PerlMonks |
Re: $0 in perl pod, not expanding to script nameby tobyink (Canon) |
on Jul 16, 2018 at 08:26 UTC ( [id://1218540]=note: print w/replies, xml ) | Need Help?? |
Pod is a markup language, not a programming language. While markup languages can sometimes have things like macros and variables in them, pod doesn't. It's super simple. So, long story short, pod doesn't have what you want. However, you could use a templating module to output your pod from a template, and use that to do variable substitution.
In Section
Seekers of Perl Wisdom
|
|