NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
\1 is frowned upon ;) (Score:1)
\1 and \2 in the right-hand side of a search-and-replace is frowned up (specifically, it causes a warning under the warnings pragma) - instead use $1 and $2
Re: (Score:1)
Did you actually pay attention? He posted a Vim command, not a line of Perl, given away by the initial
%and the/cmodifier. And, err, Vim has neither$1nor awarningspragma.Re:\1 is frowned upon ;) (Score:1)
Yes I read that it was for use in vim - but the only vim command I know is ":wq"
No I didn't notice the only 2 characters that makes it not valid perl (though the leading % char could mean anything if it were sort of configuration language)
Though, I can't imagine the OP cares, as I hope the smiley in my original subject line would communicate it as only a light-hearted poke.
And I don't really care, as my comment shows I probably don't use vim.
So, I guess that's a long winded (and hopefully vaguely polite) way of saying "whatever, let's move on"
Reply to This
Parent