Try this on your Linux box!

sudo perl -MAudio::Beep -e 'beep(21 + 9998, 3000) while 1'

Pretty annoying huh? :D

Now for something completely different:

use Audio::Beep;

my $beeper = Audio::Beep->new();
my $music = "g' f bes' c8 f d4 c8 f d4 bes c g f2";
$beeper->play( $music );

Audio::Beep is really a great Perl module! :)

About

photo of Ruben Fonseca

My name is Ruben Fonseca. I'm a Computer Science and Systems Engineer from Portugal that loves FLOSS.

I'm currently an Open Source Consultant at Lisbon, Portugal. This blog is about my daily geek life.

You can contact me anytime at or via LinkedIn:

View Ruben Fonseca's profile on LinkedIn

Feeds

Related Posts

You may be interested in these posts too:

0 Comments | rss | atom | xml | json

new comment New Comment