charmie maniar wrote: > Hi, > > I installed Mason and used the cpan.pm <http://cpan.pm> module to > automate the process to get the required perl modules. > I copied a program from the book named it "handshake.pl > <http://handshake.pl>". Its from the Mason book (O' Reilly > publications). But I am getting the following errors, please help: > > C:\Perl\bin\perl>handshake.pl <http://handshake.pl> > Backslash found where operator expected at C:\Perl\bin\perl\handshake.pl > <http://handshake.pl> line 1, near "rtf1\" > Backslash found where operator expected at C:\Perl\bin\perl\handshake.pl > <http://handshake.pl> line 1near "ansi\" > Backslash found where operator expected at C:\Perl\bin\perl\handshake.pl > <http://handshake.pl> line 1, near "ansicpg1252\"
Seems "handshake.pl" is a Rich Text Format file, not plain text. Try to open it using Notepad - probably you will not see a perl-text. Use Wordpad\Write\Word to save it as "ANSI text". -- Best regards, Andrew A. Kopeyko <k...@zvuki.ru> http://www.zvuki.ru/ ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users