package dotdotdot; use Filter::Simple; FILTER_ONLY code => sub { s{ \s \Q...\E \s }{ () }gx;}; s{ \s !!! \s } { die("Deferred implementation can't be executed"); }gx; s{ \s \Q???\E \s } { die("Deferred implementation can't be executed"); }gx }; q[ foo bar baz ];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: the 'dot dot dot' operator (s/the/another/)
by tye (Sage) on Apr 14, 2003 at 16:09 UTC | |
by broquaint (Abbot) on Apr 14, 2003 at 16:16 UTC | |
|
Re: the 'dot dot dot' operator
by diotalevi (Canon) on Apr 14, 2003 at 14:04 UTC | |
by broquaint (Abbot) on Apr 14, 2003 at 14:21 UTC | |
by diotalevi (Canon) on Apr 14, 2003 at 14:41 UTC | |
by Mr. Muskrat (Canon) on Apr 14, 2003 at 14:51 UTC |