gliu25, Try this:
perl -e "print \"xxx\"; Have to escape the quotes in the code. Have fun, Dana Wednesday, October 27, 2004, 10:21:38 AM, you wrote: > Hi, > I am using Perl v5.6.0 623 build from ActivePerl. When I issue > perl -e 'command', it should execute the command as described in the > documentation. Could anybody shed any light on this? Thanks. D:\Perl\bin>>perl -e 'print xxx' > Can't find string terminator "'" anywhere before EOF at -e line 1. D:\Perl\bin>>perl -e 'print xxx;' > Can't find string terminator "'" anywhere before EOF at -e line 1. D:\Perl\bin>>perl -e "print xxxx;" D:\Perl\bin>>perl -e "print xxx" > _______________________________________________ > Perl-Win32-Users mailing list > [EMAIL PROTECTED] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs