Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (17 sloc) 0.47 kb
# Copyright 2004-2012, Paul Johnson (
# This software is free. It is licensed under the same terms as Perl itself.
# The latest version of this software should be available from my homepage:
package Alias1;
use strict;
use warnings;
use Exporter;
our @ISA = qw(Exporter);
our @EXPORT = qw(is_3digits);
sub is_3digits {
my $val = shift;
my $retval = undef;
$retval=1 if $val =~ /^\d{3}$/;
return $retval;
Jump to Line
Something went wrong with that request. Please try again.