Dear Purvee, Here is one way to do it
#Approach 1 [code] perl -e "print qq{Hello\n}" [/code] [output] Hello [/output] Please note: qq stands for double quotes #Approach 2 [code] perl -e "print 'Hello'" [/code] [output] Hello [/output] On Mon, Jul 21, 2014 at 10:54 AM, Purvee Vora <purveev...@gmail.com> wrote: > Hi All, > > I am currently learing perl and was trying command line switches but It is > not working in window7 and 8. > > Can any one help me out about this. > > I am really stuck here. > > I tried following example: > > perl -e 'print "Hello \n";' > > Commnad line shows blank response. I cannot see "Hello" world on CMD. > > Regards, > Purvee > -- best, Shaji ---------------------------------------------------------------------------------------------------------------------------------------------- Your talent is God's gift to you. What you do with it is your gift back to God. ----------------------------------------------------------------------------------------------------------------------------------------------