Hi all
Please
I'd like to know how can a program like
the 'camel program' be compiled and run,
because there are spaces spliting keywords!
It seems it's because of the 'use strict',
but I don't see any relation between them.
The camel book, doesn't tell anything about
spaces inside keywords either.
For example, at line 11, we have:
"if (d" + spaces + "efined..."
How can these spaces be there? Why?
Thanks in advance
Silvio
----
PS/ The "camel program" is something like:
0 use strict;
1
2 $_='ev
3 al("seek\040D
4 ATA,0, 0;");foreach(1..3)
5 {<DATA>;}my @camel1hump;my$camel;
6 my$Camel ;while( <DATA>){$_=sprintf("%-6
7 9s",$_);my@dromedary 1=split(//);if(defined($
8 _=<DATA>)){@camel1hum p=split(//);}while(@dromeda
9 ry1){my$camel1hump=0 ;my$CAMEL=3;if(defined($_=shif
10 t(@dromedary1 ))&&/\S/){$camel1hump+=1<<$CAMEL;}
11 $CAMEL--;if(d efined($_=shift(@dromedary1))&&/\S/){
12 $camel1hump+=1 <<$CAMEL;}$CAMEL--;if(defined($_=shift(
13 @camel1hump))&&/\S/){$camel1hump+=1<<$CAMEL;}$CAMEL--;if(
...
...