[Chicago-talk] Bareword found where operator expected

Richard Reina richard at rushlogistics.com
Mon Mar 8 06:09:57 PST 2010


Thank you Andy.  That worked perfectly.  I really appreciate the reply.


---- Chicago.pm chatter <chicago-talk at pm.org> wrote:
>
> 
> On Mar 8, 2010, at 7:27 AM, Richard Reina wrote:
> 
> > system("gnome-terminal -x perl -e 'print "Hello World\n"; sleep 4;'");
> 
> You have double quotes inside of that string.  You need to do either:
> 
> system("gnome-terminal -x perl -e 'print \"Hello World\n\"; sleep 4;'");
> 
> or
> 
> system(q{gnome-terminal -x perl -e 'print "Hello World\n"; sleep 4;'});
> 
> --
> Andy Lester => andy at petdance.com => www.theworkinggeek.com => AIM:petdance
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Chicago-talk mailing list
> Chicago-talk at pm.org
> http://mail.pm.org/mailman/listinfo/chicago-talk
> 


More information about the Chicago-talk mailing list