develooper Front page | | Postings from August 2002

Re: Son of (-ugene's Cantor

Thread Previous | Thread Next
Keith C. Ivey
August 17, 2002 09:48
Re: Son of (-ugene's Cantor
Message ID:
Eugene van der Pijll <> wrote:

> $_=$"x~-(1|1<<pop)."/\\
> ";print,s/(?<=\\)../$&^v15.'|'/eg,s^$^/\\^while+s\^ \\

Still wasting a stroke with the double quotes (which force you 
to escape the backslash):

 ';print,s/(?<=\\)../$&^v15.'|'/eg,s^$^/\\^while+s\^ \\

Of course, now the backslashes at the end aren't as pleasing.

Keith C. Ivey <>
Washington, DC

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About