Hi,

I was looking at TPJ one-liners and saw this :

#32    A trick for indenting here strings

($definition = <<'FINIS') =~ s/^\s+//gm;
    The five varieties of camelids are the familliar
    camel, his friends the llama and the alpaca, and
    the rather less well-known guanaco and vicuna.
FINIS

Courtesy of The Perl Cookbook

It is very cool if we have a way to set this RegEx so that it executes in
compile time.... I mean if we have the ability to set this, so that we have
any funny formating we want w/o loosing the speed of parsing it at
runtime...
Or it works that way !! already..
cheers
=====
iVAN
[EMAIL PROTECTED]
=====


Reply via email to