File: Autobox.pm

package info (click to toggle)
libapache2-authcookie-perl 3.22-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 400 kB
  • ctags: 99
  • sloc: perl: 1,130; makefile: 23
file content (65 lines) | stat: -rw-r--r-- 1,380 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
package Apache::AuthCookie::Autobox;
$Apache::AuthCookie::Autobox::VERSION = '3.22';
# ABSTRACT: Autobox Extensions for AuthCookie

use strict;
use base 'autobox';

sub import {
    my $class = shift;

    $class->SUPER::import(
        SCALAR => __PACKAGE__ . '::Scalar',
        UNDEF  => __PACKAGE__ . '::Scalar');
}

package Apache::AuthCookie::Autobox::Scalar;
$Apache::AuthCookie::Autobox::Scalar::VERSION = '3.22';
sub is_blank {
    return defined $_[0] && ($_[0] =~ /\S/) ? 0 : 1;
}

1;

__END__

=pod

=head1 NAME

Apache::AuthCookie::Autobox - Autobox Extensions for AuthCookie

=head1 VERSION

version 3.22

=head1 SYNOPSIS

 Internal Use Only!

=head1 DESCRIPTION

This module provides autobox extensions for AuthCookie

=head1 SOURCE

The development version is on github at L<http://github.com/mschout/apache-authcookie>
and may be cloned from L<git://github.com/mschout/apache-authcookie.git>

=head1 BUGS

Please report any bugs or feature requests to bug-apache-authcookie@rt.cpan.org or through the web interface at:
 http://rt.cpan.org/Public/Dist/Display.html?Name=Apache-AuthCookie

=head1 AUTHOR

Michael Schout <mschout@cpan.org>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2000 by Ken Williams.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.

=cut