If on linux, and portability doesn't matter, you can get a beep wav
file, and use:

system "aplay beep.wav";

otherwise, I use the print "\a";

Doesn't always work in all terminals/ssh/telnet though.  (but more
portable that aplay anyway)

BTW, ARGGHHH!!!  Revenge of the single posts.

On 7/20/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> If on linux, and portability doesn't matter, you can get a beep wav
> file, and use:
> 
> system "aplay beep.wav";
> 
> otherwise, I use the print "\a";
> 
> Doesn't always work in all terminals/ssh/telnet though.  (but more
> portable that aplay anyway)
> 
> On 7/20/05, Bryan R Harris <[EMAIL PROTECTED]> wrote:
> >
> >
> > Try this:
> >
> > perl -e 'print "\a";'
> >
> > - B
> >
> >
> >
> >
> > > Hi,
> > > I need to produce a beep using perl.
> > > Any help is highly appreciated..
> > > Thanks..
> > > Regards,
> > > Eliyah
> > >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > <http://learn.perl.org/> <http://learn.perl.org/first-response>
> >
> >
> >
> 
> 
> --
> 
> Dave
> All us base are belong to you.
> 


-- 

Dave
All us base are belong to you.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to