On Nov 12, 2007 2:48 PM, Praveena Vittal <[EMAIL PROTECTED]> wrote:
> Hi,
>  Thanks for your comments..
>
>  I like to know what does the below represents..
>
>  $'
>

from `perldoc perlvar':

       $'      The string following whatever was matched by the last success-
               ful pattern match (not counting any matches hidden within a
               BLOCK or eval() enclosed by the current BLOCK).  (Mnemonic: "'"
               often follows a quoted string.)  Example:

                   local $_ = 'abcdefghi';
                   /def/;
                   print "$`:$&:$'\n";         # prints abc:def:ghi

               This variable is read-only and dynamically scoped to the cur-
               rent BLOCK.

               The use of this variable anywhere in a program imposes a con-
               siderable performance penalty on all regular expression
               matches.  See "BUGS".

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to