This is the revision history for prototypes in <discord.gg:#412831877242683403>
factoid_id | subject | copula | predicate | author | namespace |
---|---|---|---|---|---|
14319 | prototypes | is | please don't write sub name_of_sub (...) { - it's almost certainly not what you want, just do sub name_of_sub { ... } - see http://ow.ly/RknZs for a detailed explanation of why. To do it properly see "Signatures" in perlsub. If you're on an older perl you can do it with "signatures", "Function::Parameters" from CPAN. | grinnz | <*:##NULL> |
11152 | prototypes | is | please don't write sub name_of_sub (...) { - it's almost certainly not what you want, just do sub name_of_sub { ... } - see http://ow.ly/RknZs for a detailed explanation of why. To do it properly see "Signatures" in perlsub. If you're on an older perl you can do it with "signatures", "Function::Parameters", or "Method::Signatures" from CPAN. | pink_mist | <*:##NULL> |
11151 | prototypes | is | please don't write sub name_of_sub (...) { - it's almost certainly not what you want, just do sub name_of_sub { ... } - see http://xrl.us/bffo9k for a detailed explanation of why. To do it properly see "Signatures" in perlsub. If you're on an older perl you can do it with "signatures", "Function::Parameters", or "Method::Signatures" from CPAN. | pink_mist | <*:##NULL> |
11150 | prototypes | is | please don't write sub name_of_sub (...) { - it's almost certainly not what you want, just do sub name_of_sub { ... } - see http://xrl.us/bffo9k for a detailed explanation of why. To do it properly see "Signatures" in perlsub. If you're on an older perl you can to it with "signatures", "Function::Parameters", or "Method::Signatures" from CPAN. | pink_mist | <*:##NULL> |
10723 | prototypes | is | please don't write sub name_of_sub (...) { - it's almost certainly not what you want, just do sub name_of_sub { ... } - see http://xrl.us/bffo9k for a detailed explanation of why and Signatures in perlsub for how to do it in perl 5.20 and up; for earlier perls, see signatures, Function::Parameters, or Method::Signatures on CPAN | pink_mist | <*:##NULL> |
9317 | prototypes | is | please don't write sub name_of_sub (...) { - it's almost certainly not what you want, just do sub name_of_sub { ... } - see http://xrl.us/bffo9k for a detailed explanation of why and signatures.pm on CPAN for a better way of doing what you actually wanted | apeiron | <*:##NULL> |
9316 | prototypes | is | please don't write sub name_of_sub (...) { - it's almost certainly not what you want, just do sub name_of_sub { ... } - see http://xrl.us/bffo9k for a detailed explanation of why and signatures.pm on CPAN for a better option | apeiron | <*:##NULL> |
5719 | prototypes | is | please don't write sub name_of_sub (...) { - it's almost certainly not what you want, just do sub name_of_sub { ... } - see http://xrl.us/bffo9k for a detailed explanation of why and signatures.pm on CPAN for another option | perlbot | <*:##NULL> |