- or download this
>type test.pl && perl -MO=Concise,-exec test.pl 2>&1 | find "proto"
sub with_proto() { 4 }
...
<---- Note absence of "with_proto"
5 <#> gv[*without_proto] s <---- Not constant
- or download this
>type test.pl && perl -MO=Concise,-exec test.pl 2>&1 | find "proto"
sub with_proto() { my $lex }
...
i <#> gv[*with_proto] s <---- Not constant
m <#> gv[*without_proto] s <---- Not constant
- or download this
>type test.pl && perl -MO=Concise,-exec test.pl 2>&1 | find "proto"
sub with_proto() { \my $lex }
...
i <#> gv[*with_proto] s <---- Not constant
m <#> gv[*without_proto] s <---- Not constant
- or download this
>type test.pl && perl -MO=Concise,-exec test.pl 2>&1 | find "proto"
sub with_proto() :lvalue { my $lex }
...
i <#> gv[*with_proto] s
m <#> gv[*without_proto] s