in reply to Re^5: perl and apache2 on ubuntu 17.04
in thread perl and apache2 on ubuntu 17.04

> why would my code get parsed??

Perl parses your code in order to run it. And by using prototypes, you're telling the parser to parse the subroutines differently to the general rules in some contexts (basically without parentheses). Read the linked article and possibly also perlsub for details.

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Replies are listed 'Best First'.
Re^7: perl and apache2 on ubuntu 17.04
by jamroll (Beadle) on Oct 13, 2018 at 19:35 UTC
    ok. i have checked it out. like you said, so long as i adhere to the same methodology, i'm ok. i have some 250+ subroutines in all...and i really don't wanna change all of that code (easy as it may be). besides...doing so might break a library (subdesc.pm) i wrote to read the comments in my libraries (including itself), and creates pretty documentation in HTML format for me! under the hood, the prototype list is used. it's very cool, just don't include the word "return" in a comment, and all's good lol.
    I was pondering why the ball was getting bigger, and then...it hit me!