Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Golf: Fix de facto HTML comments

by BrowserUk (Pope)
on Jul 19, 2004 at 07:14 UTC ( #375467=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        #2345678 1 2345678 2 2345678 3 2345678 4 2345678 5 2345678 6 2345
        s/(?<=<!--)([^>]*?)-->/local$_=$1;s!-(\s*)-!-$1\x95!g;"$_-->"/eg;
    
  2. or download this
        #2345678 1 2345678 2 2345678 3 2345678 4 2345678 5 2345678 6 234
        s/<!--([^>]*?)-->/local$_=$1;s!-(\s*)-!-$1\x95!g;"<!--$_-->"/eg;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://375467]
help
Chatterbox?
[Lady_Aleena]: shmem, there is MP3::Info/
[Discipulus]: too much complex qx when you know perl are better to avoid
[marioroy]: might need to backslash \'*.mp3\'
[marioroy]: It's a quoting issue inside qx. It's File::Find or qx. LA chooses qx. Almost there.
[marioroy]: Also \"%S\\\n\" oh my, not fun.
[Discipulus]: good night folks
[marioroy]: I will make a mp3info script that takes the -p "%S\n" args and test qx. I'm on the road, so will come back.
[marioroy]: All because File::Find is not fun for LA.
[marioroy]: good night Discipulus.
[Discipulus]: perl dreams to you all

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2017-04-23 21:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.