R
Rajendra Pai
Hi,
I have ActivePerl installed in a Windows XP Machine.
When I type the following line at the command prompt (this is just an
example):
perl -le 'print "PRIME" if (1 x shift) !~ /^(11+)\1+$/' 19
the response I get is:
Can't find string terminator "'" anywhere before EOF at -e line 1.
(I am getting similar error messages for 'perl -lane' type of commands
also. The example shown above is taken from a tutorial)
I am not able to figure out what is wrong. I have tried doing both web
and group searches in google. Please help me. I am a newbie and maybe
missing something very obvious.
Thanks in advance for the help.
Regards,
Rajendra
I have ActivePerl installed in a Windows XP Machine.
When I type the following line at the command prompt (this is just an
example):
perl -le 'print "PRIME" if (1 x shift) !~ /^(11+)\1+$/' 19
the response I get is:
Can't find string terminator "'" anywhere before EOF at -e line 1.
(I am getting similar error messages for 'perl -lane' type of commands
also. The example shown above is taken from a tutorial)
I am not able to figure out what is wrong. I have tried doing both web
and group searches in google. Please help me. I am a newbie and maybe
missing something very obvious.
Thanks in advance for the help.
Regards,
Rajendra