27177Re: Perl command line problem
- Sep 18, 2011Use semicolon at the end.
perl -e "print 'hello'";
--- In email@example.com, "diyingyun2016@..." <874827643@...> wrote:
> Hi , I'm starting Perl , just a fully fresh beginner ;
> And I use Perl command line in windows ;
> when I typed the command :¡¡perl -e 'print "Hello,world\n"'
> However, a problem occurs that
> Can't find string terminator "'" anywhere before EOF at -e line 1.
> How should it happen , and I've checked for a long time , I need your help!
- << Previous post in topic Next post in topic >>