Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Perl Regex with Extra Spaces

by Jasper (Chaplain)
on Apr 09, 2010 at 15:43 UTC ( #833847=note: print w/replies, xml ) Need Help??


in reply to Perl Regex with Extra Spaces

What you want is y/ //s

Replies are listed 'Best First'.
Re^2: Perl Regex with Extra Spaces
by Anonymous Monk on Apr 09, 2010 at 23:57 UTC
    What is that exactly?
      Its the transliteration operator tr/// (same as y///), not to be confused with s///.

      Your problem is that you're not decoding UTF-16le.

        Well now the problem is that it outputs all the content from the psexec.exe, regardless of what I do, I use system, exec, or back ticks, and it will only effect some of it

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://833847]
help
Chatterbox?
[Discipulus]: oh yes, outsurcing.. i remember: not as lazy as marto outsourced ones..

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-01-24 11:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (204 votes). Check out past polls.