-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
With Ruslan steering me in the right direction, I found the problem:
This diff is against 3.7-EXPERIMENTAL-RTIR-2.2, Web.pm rev. 7022. This
resolves a clobbered regex-match $1 by stashing the principal ID in a
temporary variable.
The issue was this: each successful m// match resets $1 … $9. Even
though in the diff I use m/(?:x|y|z)/, the numbered match variables
still get reset to undef. ![:confused: :confused:](https://forum.bestpractical.com/images/emoji/twitter/confused.png?v=12)
“Looks like there’ll be no money for you, Crazy Round Man.”
- Samurai Jack
Richard G Harman Jr me+nospam@richardharman.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFF2Oo93rKdb192Vz8RAjaGAJ9VKgBsdesXS2XL51Sqddm4+7InEACeM3jQ
begbTBAWMeqCvAxjDwZ68Ec=
=n2SQ
-----END PGP SIGNATURE-----
RT_Interface_Web-unclobber_principal_addwatcher-3.7-EXPERIMENTAL-RTIR-2.2.diff (1.04 KB)
Thanks, has been applied as revision 7036.On 2/19/07, Richard Harman rt-devel@richardharman.com wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
With Ruslan steering me in the right direction, I found the problem:
This diff is against 3.7-EXPERIMENTAL-RTIR-2.2, Web.pm rev. 7022. This
resolves a clobbered regex-match $1 by stashing the principal ID in a
temporary variable.
The issue was this: each successful m// match resets $1 … $9. Even
though in the diff I use m/(?:x|y|z)/, the numbered match variables
still get reset to undef. ![:confused: :confused:](https://forum.bestpractical.com/images/emoji/twitter/confused.png?v=12)
“Looks like there’ll be no money for you, Crazy Round Man.”
- Samurai Jack
Richard G Harman Jr me+nospam@richardharman.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFF2Oo93rKdb192Vz8RAjaGAJ9VKgBsdesXS2XL51Sqddm4+7InEACeM3jQ
begbTBAWMeqCvAxjDwZ68Ec=
=n2SQ
-----END PGP SIGNATURE-----
List info: The rt-devel Archives
Best regards, Ruslan.