diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-12-23 22:22:18 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-12-23 22:26:39 -0800 |
commit | c3ae113d42b1c27d42b34afa86d66f9f9915c56f (patch) | |
tree | 31bc854b97f4e561743db6e2785402ee11f961cb /lib/overloading.pm | |
parent | 09622ee266267b438af518e79985c5d26bfbbffd (diff) | |
download | perl-c3ae113d42b1c27d42b34afa86d66f9f9915c56f.tar.gz |
Deparse.pm: Put re flag logic into its own function
Also, sort the flags so that matchwords still work. It seems they never
did work properly for s///r, so this commit causes this Freudian slip:
$ perl5.14.2 -MO=Deparse -e 's///rose'
s//();/eros;
-e syntax OK
to become this:
$ ./perl -Ilib -MO=Deparse -e 's///sore'
s//();/rose;
-e syntax OK
Diffstat (limited to 'lib/overloading.pm')
0 files changed, 0 insertions, 0 deletions