[ogg-dev] Is there an "off" switch to prepare to repeat a call to ogg123?

Martin Leese martin.leese at stanfordalumni.org
Sun Jun 2 14:11:56 PDT 2013


David Busey wrote:
...
> Pathname> perl
> SoundAnOggFile.asc
> sytax error at SoundAnOggFile.asc line
> 7, near ")
>
>
>
> system"
> Execution of SoundAnOggFile.asc aborted
> due to compilation errors

I have never used ogg123, and haven't used
Perl for seven years or so.  However, this
looks more like a Perl error to me.

Note that you should be able to just type the
filename to execute it, ie:
    Pathname> SoundAnOggFile.asc

The error message suggests that Perl has
failed to recognise the line ending for some
reason.  Try cleaning up your file
SoundAnOggFile.asc by removing all blank
lines (that are not comments), and any trailing
whitespace on the lines that remain.  If you
still get an error, re-post this cleaned up
version.

Another thing to try is to check (and print out)
the status returned by the system command.

Regards,
Martin
-- 
Martin J Leese
E-mail: martin.leese  stanfordalumni.org
Web: http://members.tripod.com/martin_leese/


More information about the ogg-dev mailing list