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?

Thanks
Silvio


Jeff 'japhy' Pinyan wrote:
> 
> On Jun 25, Silvio Luis Leite Santana said:
> 
> >I'd like to know how can a program like
> >the 'camel program' be compiled and run,
> >because there are spaces spliting keywords!
> 
> The secret is on line 2.
> 
> >0 use strict;
> >1
> >2                                           $_='ev
> 
> See, the main source of this program is a STRING.  It stores a large
> string in $_.
> 
> --
> 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