Re: Syntax Error?
- From: anno4000@xxxxxxxxxxxxxxxxxxxxxx
- Date: 9 Feb 2007 16:11:03 GMT
<g4173c@xxxxxxxxxxxx> wrote in comp.lang.perl.misc:
Hi
I doubt that TomC posted that code. "system" cannot be followed
by a block, that's a syntax error by itself. Please give a reference.
Anno
I searched for "exit status from system with tee" and got the
following message, which that code
was at the bottom:
http://groups.google.com/group/comp.lang.perl.misc/browse_thread/thread/ea4ec21762f245ab/a7b6faac68ee60d6?lnk=gst&q=exit+status+from+system+with+tee&rnum=1&hl=en#a7b6faac68ee60d6
Ugh. That's a thread of 6 articles, none of which is by Tom
Christiansen. It took me a while to find that what you mean is
a posting by Charles DeRykus who quotes TomC's solution.
Unfortunately there's a typo -- there should be a "q" before
the first "{", making quoted text out of what looks like a bare
block. Change that and the code will run -- whatever it is
supposed to do.
Anno
.
- Follow-Ups:
- Re: Syntax Error?
- From: comp.llang.perl.moderated
- Re: Syntax Error?
- References:
- Syntax Error?
- From: g4173c
- Re: Syntax Error?
- From: anno4000
- Re: Syntax Error?
- From: g4173c
- Syntax Error?
- Prev by Date: What do you think of AxKit?
- Next by Date: Re: xxx
- Previous by thread: Re: Syntax Error?
- Next by thread: Re: Syntax Error?
- Index(es):
Relevant Pages
|
Loading