BW::Constants - Commonly used constants
use BW::Constants; sub x { blah blah; return SUCCESS } sub y { blah blah; return FAILURE }
The value 1 for use in logical tests and conditionals.
The value 1 for use as a return value to indicate success.
The value '' for use in logical tests and conditionals. Note: This is what perl uses internally for false as it avoids ambiguity with numeric 0.
The value '' for use as a return value to indicate failure.
ASCII Carriage Return.
ASCII Line Feed.
CR + LF ... suitable for MIME line endings and other things.
The value '' for use as an empty string.
The value undef for use as a non-value return.
Written by Bill Weinman <http://bw.org/>
Copyright (c) 1995-2010 The BearHeart Group, LLC
2010-02-02 bw 1.2 -- first CPAN release 2007-10-20 bw -- added CR, LF, and CRLF 2007-10-18 bw -- initial release.
To install BW::CGI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm BW::CGI
CPAN shell
perl -MCPAN -e shell install BW::CGI
For more information on module installation, please visit the detailed CPAN module installation guide.