Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
No such thing as a small change
 
PerlMonks  

Re: Can perl do...?

by sean (Beadle)
on Jun 04, 2000 at 15:08 UTC ( [id://16296]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Can perl do...?

For that first part there: $foo = ("this $foo" =~ s/a/b/); If you shuffle the parens around thusly: ($foo = "this $foo") =~ s/a/b/; It would do what you want. --sean

Replies are listed 'Best First'.
RE: Re: Can perl do...?
by nashdj (Friar) on Jun 05, 2000 at 07:05 UTC
    Brilliant! I just need to think sideways more than I am I guess :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://16296]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.