Help for this page

Select Code to Download


  1. or download this
      DB<137> $rep = '<$1>'
    
    ...
      DB<139> p "abc" =~ s/(.)/rep()/rge
    <a><b><c>
      DB<140>
    
  2. or download this
      DB<140> p B::Deparse->new('-q')->coderef2text(\&rep)
    {
    ...
        '<' . $1 . '>';
    }
      DB<141>