Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I have a string $abc my $abc = "add $im::Children(ImCred) _name_"; I want to replace $im::Children(ImCred) in string above with _credname_ so that my final string on doing print $abc; should give: add _credname_ _name_ Please reply to me at g_kansal@yahoo.com
  • Comment on How to replace $im::Children(ImCred) from a string with cred

Replies are listed 'Best First'.
Re: How to replace $im::Children(ImCred) from a string with cred
by BMaximus (Chaplain) on Aug 04, 2003 at 08:24 UTC
    This isn't exactly how things work here. Answers are posted on Perl monks for all to see, not emailed to addreses. Your question is confusing and unclear as well. This is a community that shares its knowlege and we don't do homework.

    BMaximus