Help for this page

Select Code to Download


  1. or download this
           How can I expand variables in text strings?
    
           Let's assume that you have a string like:
    ...
               $text =~ s/\$(\w+)/$user_defs{$1}/g;