IfLoop

 view release on metacpan or  search on metacpan

IfLoop.pm  view on Meta::CPAN

    my($type, @arguments) = @_ ;

    if(scalar(@arguments) == 0)
    {
	@arguments = qw(while until);
    }
    
    my $tmp = join ':1:', @arguments,':1';
    @arguments = split ':', $tmp;

    $offset = (caller)[2]+1;
    filter_add({@arguments}) ;
}

#---------------------------------------------------------------------------
#---------------------------------------------------------------------------
sub unimport
{	
    filter_del();
}



( run in 0.489 second using v1.01-cache-2.11-cpan-a3c8064c92c )