Wiki Markup |
---|
Perl has a large number of builtin functions, they are described on the {{perlfunc()}} manpage \[[Wall 2011|AA. Bibliography#Manpages]\]. Perl also has a handful of reserved keywords likesuch as {{ifwhile}}; they are described on the {{perlsyn}} manpage \[[Wall 2011|AA. Bibliography#Manpages]\]. |
...
This compliant solution uses a different name for its subroutine; consequently it behaves as expected.
Code Block | ||||
---|---|---|---|---|
| ||||
sub my_open { my ($arg1, $arg2, $arg3) = @_; print "arg1 = $arg1\n"; print "arg2 = $arg2\n"; print "arg3 = $arg3\n"; } my_open( FOO, "<", "foo.txt"); |
...
CERT C++ Secure Coding Standard: DCL32-CPP. Do not declare or define a reserved identifier
CERT C Secure Coding Standard: : DCL37-C. Do not declare or define a reserved identifier
...