Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Winamp random m3u

by thraxil (Prior)
on Mar 08, 2002 at 20:31 UTC ( #150418=note: print w/replies, xml ) Need Help??


in reply to Winamp random m3u

first of all, i'd avoid using global variables (yeah, it's only a small script, but it should be habit).

second, you can rewrite the:

$result=~s/\//\\/g;

as:

$result =~ s{/}{\\}g;

to eliminate LTS.

anders pearson

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://150418]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2018-07-22 18:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (455 votes). Check out past polls.

    Notices?