sys::re::match


sys documentation Contained in the sys distribution.

Index


Code Index:


sys documentation Contained in the sys distribution.

# #############################################################
# ### Generated by GenerateVarMap.PL.
# ###
# ### Please edit the master and *not* this file.
# ### Date of render: Fri Mar  7 13:15:44 2008
##############################################################

package sys::re::match;

use strict;
use warnings;
use version;
our $VERSION = qv('0.2');

use Carp 'confess';
use Scalar::Util 'blessed';



use Class::Dot2;
{



    sub match_end {
        
                return \@+; # ARRAY        
    }
    sub match_start {
        
                return \@-; # ARRAY        
    }
    sub last_paren {
                    if ($_[1]) {
                return $+ = $_[1];
            };
        
                return $+; # SCALAR        
    }
    sub submatch_result {
                    if ($_[1]) {
                return $^N = $_[1];
            };
        
                return $^N; # SCALAR        
    }

}

1;

# Local Variables:
#   mode: cperl
#   cperl-indent-level: 4
#   fill-column: 78
# End:
# vim: expandtab tabstop=4 shiftwidth=4 shiftround

__END__