New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
${^MATCH} not set without /p (contrary to docs) #15938
Comments
From @ikegamiCreated by @ikegamiperlre says:
perlvar says:
test (without /p) echo 'Lorem ipsum dolor sit ut dicta qui dolores.' |\ output: dolor| test (with /p): echo 'Lorem ipsum dolor sit ut dicta qui dolores.' |\ output: dolor|dolor The code's behaviour differs from both perlre and perlvar. - Eric In reference to Sorry if you have received this twice. Perl Info
|
From @ikegamiOn Sat, 01 Apr 2017 14:34:32 -0700, ikegami@adaelis.com wrote:
Actual code run: echo 'Lorem ipsum dolor sit ut dicta qui dolores.' |\ |
From @jkeenanOn Sat, 01 Apr 2017 21:34:32 GMT, ikegami@adaelis.com wrote:
I'm not getting the same output as you reported. ##### $ echo 'Lorem ipsum dolor sit ut dicta qui dolores.' | perl -nE 'say ${^MATCH} while m/dolor/gp' $ echo 'Lorem ipsum dolor sit ut dicta qui dolores.' | perl -nE 'say ${^MATCH} while m/dolor/g' $ perlbrew use perl-5.18.4 $ perl -v | head -2 | tail -1 $ echo 'Lorem ipsum dolor sit ut dicta qui dolores.' | perl -nE 'say ${^MATCH} while m/dolor/gp' $ echo 'Lorem ipsum dolor sit ut dicta qui dolores.' | perl -nE 'say ${^MATCH} while m/dolor/g' ##### What am I missing? -- |
The RT System itself - Status changed from 'new' to 'open' |
From @ikegamiYou are getting the same incorrect output as I am. On Tue, Jun 13, 2017 at 3:29 PM, James E Keenan via RT <
|
From @AbigailOn Sat, Apr 01, 2017 at 02:34:33PM -0700, Eric Brine wrote:
The lines in the documentation were added by the following commit: commit 13b0f67 re-enable Copy-on-Write by default. I don't recall ever hearing that /p was ignored (or supposed to be Abigail |
From @iabynOn Wed, Jun 14, 2017 at 12:21:09PM +0200, Abigail wrote:
That commit was merely re-applying COW changes which had been temporarily commit d78f32f Update docs to concur with -- |
From @demerphqOn 16 June 2017 at 14:58, Dave Mitchell <davem@iabyn.com> wrote:
There was some discussion of reverting some of this as COW does not I may even have made changes to some of this infrastructure due to cheers, -- |
@demerphq any progress? |
No sorry, this got lost in the chaos caused by some traumatic personal events. I can try to take a look. But I make no promises ill have a fix in time for the 20th. |
Migrated from rt.perl.org#131087 (status was 'open')
Searchable as RT131087$
The text was updated successfully, but these errors were encountered: