2 ms·
I saw it on brian d foy's website first, around 2010. https://web.archive.org/web/20150227080722/http://www.masteringperl.org:80/2013/08/new-to-modules-as-prog
by rurban 9y ago
I saw it on brian d foy's website first, around 2010.
https://web.archive.org/web/20150227080722/http://www.masteringperl.org:80/2013/08/new-to-modules-as-programs/ https://web.archive.org/web/20150227080722/http://www.master... is about the module Modulino which allows scripts to use these tricks.
DrDobbs had it 2004: http://www.drdobbs.com/scripts-as-modules/184416165 http://www.drdobbs.com/scripts-as-modules/184416165