Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^2: howto replace part of a string

by CountOrlok (Friar)
on Jun 14, 2006 at 15:26 UTC ( #555274=note: print w/replies, xml ) Need Help??

in reply to Re: howto replace part of a string
in thread howto replace part of a string

Is this what you're trying to do?
$a = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; $a =~ s/^\S{5}(\S{4})\S+/$1xxxx/ ;

Replies are listed 'Best First'.
Re^3: howto replace part of a string
by jeanluca (Deacon) on Jun 14, 2006 at 16:04 UTC
    You're right, but I realize now, because I didn't understand the expression, that it is not what I want!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://555274]
[1nickt]: Corion Surely you have one or more lying around?
[Corion]: 1nickt: Not in the general sense... I only have very specific crawlers, but not a simple crawler like that ;) But maybe that would be a good application/( stress) test for Future::HTTP to parallelize
[Corion]: Also, a good application to test my API to rate limit things

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2017-10-18 11:27 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (244 votes). Check out past polls.