Environment:
WinXP Pro
ActivePerl
Install Dir: C:\Program Files\perl
Trying to use C:\Program Files\perl\lib\ Text\ParseWords .pm
Command Line:
perl -w try.pl < ServerFile
Code:
use lib "C:\\Progra m Files\\perl\\li b";
use "Text::ParseWor ds.pm";
print "\@INC = @INC\n";
Generated error message:
syntax error at try.pl line 2, near "use "Text::ParseWor ds.pm""
Execution of try.pl aborted due to compilation errors.
What is the causing the syntax error?
WinXP Pro
ActivePerl
Install Dir: C:\Program Files\perl
Trying to use C:\Program Files\perl\lib\ Text\ParseWords .pm
Command Line:
perl -w try.pl < ServerFile
Code:
use lib "C:\\Progra m Files\\perl\\li b";
use "Text::ParseWor ds.pm";
print "\@INC = @INC\n";
Generated error message:
syntax error at try.pl line 2, near "use "Text::ParseWor ds.pm""
Execution of try.pl aborted due to compilation errors.
What is the causing the syntax error?
Comment