|
|
| Just another Perl shrine | |
| PerlMonks |
Re: problems with backreferenceby ikegami (Pope) |
| on Sep 06, 2011 at 15:33 UTC ( #924422=note: print w/ replies, xml ) | Need Help?? |
|
\1 is a regular expression pattern that matches what the first capture captured. It makes no sense to use it outside of regular expressions as you did. Perl script:
Perl command:
ssh command:
Note the ' needed to be escaped when placed inside another ' literal.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||