[Chicago-talk] How to subvert error message.

Andy Lester andy at petdance.com
Wed Jul 12 08:13:15 PDT 2006


On Jul 12, 2006, at 10:06 AM, Richard Reina wrote:

> Hello All,
>
> Is there a way to execute a system command with out the console  
> printing an error message?  I wan't to do system("play  
> soundfile.wav") but I do not want the error message to print out if  
> the file cannot be played.


It's certainly nothing Perl can control.  Once you've called system 
(), it's out of your hands.

--
Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance






More information about the Chicago-talk mailing list