Citation:
Unrecognized escape \d passed through at RX_Perl_Best_Practices.pl line 48.
Bareword found where operator expected at RX_Perl_Best_Practices.pl line 48, near "qx{gi\|(\d+)\|}xms"
Unrecognized escape \w passed through at RX_Perl_Best_Practices.pl line 49.
Bareword found where operator expected at RX_Perl_Best_Practices.pl line 49, near "qx{gb\|([.\w]+)\|}xms"
Unrecognized escape \z passed through at RX_Perl_Best_Practices.pl line 50.
Bareword found where operator expected at RX_Perl_Best_Practices.pl line 50, near "qx{(.+)\z}xms"
Bareword found where operator expected at RX_Perl_Best_Practices.pl line 51, near "qx{($GI)($GB)($DEFINITION)}xms"
syntax error at RX_Perl_Best_Practices.pl line 48, near "qx{gi\|(\d+)\|}xms"
syntax error at RX_Perl_Best_Practices.pl line 49, near "qx{gb\|([.\w]+)\|}xms"
syntax error at RX_Perl_Best_Practices.pl line 50, near "qx{(.+)\z}xms"
syntax error at RX_Perl_Best_Practices.pl line 51, near "qx{($GI)($GB)($DEFINITION)}xms"
Execution of RX_Perl_Best_Practices.pl aborted due to compilation errors.
J'utilise Perl 5.8.8 je peux donc utiliser Readonly::Scalar ou simplement Readonly.