Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

SkipHuffman's scratchpad

by SkipHuffman (Monk)
on Aug 22, 2005 at 20:15 UTC ( [id://485761]=scratchpad: print w/replies, xml ) Need Help??

Hey Skip! You big Dummy, the next time you use the scratchpad and want to refer to it in the chatterbox, the code is SkipHuffman's scratchpad. Try to notice this before you clear the pad the next time you use it. Of course the odds are that you will just "CTRL-A Del" as soon as you open this page, so I am wasting my time talking to you.
if (-r ".\$songtitle.ogg") { system "/usr/loc +al/bin/mplayer $songtitle.ogg >/dev/null"; } + elsif (-r ".\$songtitle.mp3" ) { + system "/usr/local/bin/mplayer $songtitle.mp3 >/dev/null"; + } else { print "could no +t open audio file, perhaps fileparse failed, or it is not an mp3 or o +gg?<br>Lets try just using the title without adding a suffix.<br>"; + chomp $songtitle; print "/usr/local/bin/ +mplayer $songtitle >/dev/null"; system "/usr/local/bin +/mplayer $songtitle"; system "/usr/local/bin/mplayer + $songtitle.mp3"; } }
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-19 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found