5 ms·
So, the first tutorial on the list that you recommend has this page for functions[0]. It's more or less the same as GP's link. YOU are the one misinforming, it
by iosonofuturista 7y ago
So, the first tutorial on the list that you recommend has this page for functions[0]. It's more or less the same as GP's link.
YOU are the one misinforming, it would seem. Granted, I don't work with perl (5, never tried 6) for about 15 years, but most criticism of it seems to align with my experiences back then.
[0] http://mvp.kablamo.org/basics/functions/ http://mvp.kablamo.org/basics/functions/
Edit: The second [1] also recomends the @_ method, and the third [2] the shift method. Did you even read your own links?
[1] https://perlmaven.com/subroutines-and-functions-in-perl https://perlmaven.com/subroutines-and-functions-in-perl
[2] https://learnxinyminutes.com/docs/perl/ https://learnxinyminutes.com/docs/perl/ (search for subroutines)