Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Winamp random m3u

by thraxil (Prior)
on Mar 08, 2002 at 20:31 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://150418]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-03-28 18:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found