Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Can perl do...?

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


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 11: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
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-03-19 07:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found