On Jun 25, Silvio Luis Leite Santana said:

>Ok, japhy, thanks.
>
>So you're telling me Perl wouldn't allow
>any spaces "inside" keywords?
>
>What about when $_ be evaluated? The spaces
>of the line
>
>    $CAMEL--;if(d   efined($_=shift(@dromedary1))&&/\S/){
>
>will still be there, won't they?

Stephen Jenkins (aka Erudil), the author of the Camel Code, removes all
the whitespace from $_ before evaluating it.

  $_='[lots of stuff]';
  s/\s*//g;  # remove whitespace
  eval;  # evaluate code
  seek DATA,0,0;
  undef $/;
  $_ = <DATA>;
  s/\s*//g;
  ();
  s/^.*_//;
  map { eval "print \"$_\"" } /.{4}/g;
  __DATA__
  ...


-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
I am Marillion, the wielder of Ringril, known as Hesinaur, the Winter-Sun.
Are you a Monk?  http://www.perlmonks.com/     http://forums.perlguru.com/
Perl Programmer at RiskMetrics Group, Inc.     http://www.riskmetrics.com/
Acacia Fraternity, Rensselaer Chapter.         Brother #734
**      Manning Publications, Co, is publishing my Perl Regex book      **

Reply via email to