Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: split this

by Tyke (Pilgrim)
on Nov 06, 2001 at 18:02 UTC ( #123572=note: print w/replies, xml ) Need Help??

in reply to split this

I think that you _can_ do it with a split:
perl -le "print for split /(?=[^~\/](?:.|$))/,shift" "E/sYna~ko/"
looks as if it works on your test data.

Update Actually that should have been

perl -le "print for split /(?=[^~\/])/,shift" "E/sYna~ko/"
but you saw that

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://123572]
[LanX]: choroba deaf after one rehearsal per year ?
Discipulus .. per ear!
[LanX]: LOL
[choroba]: we used to play more :)
Discipulus played the guitar in a ska band 12 elemnts, very fun
[LanX]: well ... the prize for worshipping satan is high ...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2017-03-24 12:35 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (301 votes). Check out past polls.