alien_life_form has asked for the wisdom of the Perl Monks concerning the following question:
while investigating a regexp related behavior I came to write the following:
What I felt the output should have been is:perl -e "print join(qq(\n),('+','\+','\\+','\\\+')),qq(\n)" + \+ \+ \\+
Do my feelings need revision? and why?+ \+ \\+ \\\+
|
---|
Replies are listed 'Best First'. | |
---|---|
(MeowChow) Re: Single quoting weirdness
by MeowChow (Vicar) on Jun 07, 2002 at 09:01 UTC | |
Re: Single quoting weirdness
by grinder (Bishop) on Jun 07, 2002 at 09:55 UTC | |
Re: Single quoting weirdness
by Abigail-II (Bishop) on Jun 07, 2002 at 10:58 UTC | |
by Anonymous Monk on Jun 07, 2002 at 11:52 UTC | |
by Abigail-II (Bishop) on Jun 07, 2002 at 12:07 UTC | |
by Anonymous Monk on Jun 08, 2002 at 00:58 UTC | |
Re: Single quoting weirdness
by PodMaster (Abbot) on Jun 07, 2002 at 10:05 UTC | |
by alien_life_form (Pilgrim) on Jun 07, 2002 at 10:45 UTC | |
Re: Single quoting weirdness
by jmcnamara (Monsignor) on Jun 07, 2002 at 09:02 UTC | |
Re: Single quoting weirdness
by demerphq (Chancellor) on Jun 07, 2002 at 13:27 UTC | |
by Abigail-II (Bishop) on Jun 07, 2002 at 14:14 UTC |