Fey::Literal::Number - Represents a literal number in a SQL statement
version 0.40
my $number = Fey::Literal::Number->new($number)
This class represents a literal number in a SQL statement, either an integer or float.
This module is a subclass of Fey::Literal.
Fey::Literal
This class provides the following methods:
This method creates a new Fey::Literal::Number object representing the number passed to the constructor.
Fey::Literal::Number
Returns the number as passed to the constructor.
The id for a number is always just the number itself.
Returns the appropriate SQL snippet.
This class does the Fey::Role::Selectable and Fey::Role::Comparable roles.
Fey::Role::Selectable
Fey::Role::Comparable
See Fey for details on how to report bugs.
Dave Rolsky <autarch@urth.org>
This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Fey, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Fey
CPAN shell
perl -MCPAN -e shell install Fey
For more information on module installation, please visit the detailed CPAN module installation guide.