Help for this page

Select Code to Download


  1. or download this
    The variables $1, $2, $3 ... are automatically localized, and their sc
    +ope extends to the end of the enclosing block or eval string, or to t
    +he next successful pattern match, whichever comes first.
    
  2. or download this
    if ($_ =~ /ORG\:(.+)/) {
        # $1 in scope A
    ...
         # $1 now in scope A again
         elsif ($1 =~ /^\;(.+)\;(.+)$/) {
            # $1 now in scope C