Fey::Literal(3)

NAME
Fey::Literal - Factory for making a literal piece of a SQL statement

VERSION
version 0.44

SYNOPSIS
  my $literal = Fey::Literal->new_from_scalar($string_or_number_or_undef);

DESCRIPTION
This class is a factory for creating a literal piece of a SQL statement, such as a string, number, or function.

METHODS
This class provides the following methods:

  Fey::Literal->new_from_scalar($scalar)
Given a string, number, or undef, this method returns a new object of the appropriate subclass. This will be either a "Fey::Literal::String", "Fey::Literal::Number", or "Fey::Literal::Null".

BUGS
See Fey for details on how to report bugs.

Bugs may be submitted at <https://github.com/ap/Fey/issues>.

SOURCE
The source code repository for Fey can be found at <https://github.com/ap/Fey>.

AUTHOR
Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE
This software is Copyright (c) 2011 - 2025 by Dave Rolsky.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)

The full text of the license can be found in the LICENSE file included with this distribution.