Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^2: rotate a vector with a regex?

by LanX (Chancellor)
on Nov 21, 2012 at 17:29 UTC ( #1004972=note: print w/replies, xml ) Need Help??

in reply to Re: rotate a vector with a regex?
in thread rotate a vector with a regex?

> rather, an intermediate string is being built up during this process, and the intermediate string is copied to the original string

I think you're right

DB<123> $x=join "",a..j => "abcdefghij" DB<124> $x =~ s/(.)(?=(.))/$2$1/g => 9 DB<125> $x => "bacbdcedfegfhgihjij"

Cheers Rolf

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004972]
[Corion]: I found Android Studio quite nice as a Java IDE, but then, I didn't try anything serious with it
[chacham]: it is a nice ide. its just that upgrading it always causes issues with mismatched versions of whatever
[Corion]: chacham: Oh, yes, reinstalling all the SDK versions and Gradle and whatnot, yes, even in the short time I used it (2 weeks?) I felt that pain
[chacham]: right now im editing the versions in the applications gradle file to use a version it wants. sheesh.

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2017-03-29 07:58 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (344 votes). Check out past polls.