Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Re: Re: Re: Re: Re: Substitution Problem

by Wassercrats
on Sep 13, 2002 at 08:07 UTC ( #197472=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Re: Re: Re: Substitution Problem
in thread Substitution Problem

I'm a beginner in Perl, but I think your breakdown of my code explains exactly what I want it to do. I went a little crazy with the escapes though. I'll need the s modifer for some other cases, though it's unnecessary for this example. I'd like the special meanings of the escaped characters on the right of the s/// to be used. I want the element in which the substitution is taking place (@links1[whatever]) to be referred to when Perl is assiging real text to the special characters. Not that you're solution is worse than my proposed one, but I was suprised to learn that mine didn't work.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://197472]
[choroba]: just one of its angles, in fact
[LanX]: <|--
[choroba]: Reminds me of an old joke about an orchestra...
erix imagines that in a true Lancs accent
[choroba]: so a Czech orchestra rehearses a new piece by a German composer
LanX LOL of the day ... the Turkish Anonymous Alcoholics stopped their "No to alcohol" campaign for political reasons ...
LanX omg my browser is posting again on its own ...
[LanX]: choroba: GREAT JOKE! xD

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2017-03-27 11:46 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (319 votes). Check out past polls.