P
princemadhu
Guest
i am new to perl.i wrote perl script in notepad and saved in
(C:\strawberry\perl).and my perl script is
C:\strawberry\perl
print "hello world";
and then i open cmd and then change to (C:\strawberry\perl).and excuted as,
C:\strawberry\perl>perl hello1.pl
but it gives error...backslash found where operator expected at hello1.pl line 1,near "strawberry\".
and then i add a forward slash to backslah,and then try to execute,but it gives error as,
search pattern not terminated at hello1.pl line 1.
please solve my problem.i am really new perl.i dont to write perl script and execute.thanks in advance.
(C:\strawberry\perl).and my perl script is
C:\strawberry\perl
print "hello world";
and then i open cmd and then change to (C:\strawberry\perl).and excuted as,
C:\strawberry\perl>perl hello1.pl
but it gives error...backslash found where operator expected at hello1.pl line 1,near "strawberry\".
and then i add a forward slash to backslah,and then try to execute,but it gives error as,
search pattern not terminated at hello1.pl line 1.
please solve my problem.i am really new perl.i dont to write perl script and execute.thanks in advance.