Dave Rolsky > Fey-0.09 > Fey::Literal

Download:
Fey-0.09.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View Bugs
Report a bug
Source   Latest Release: Fey-0.34

NAME ^

Fey::Literal - Represents a literal piece of a SQL statement

SYNOPSIS ^

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

DESCRIPTION ^

This class represents a literal piece of a SQL statement, such as a string, number, or function.

It is the superclass for several more specific Fey::Literal subclasses, and also provides short

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.

$literal->id()

Returns a unique id for a literal object.

AUTHOR ^

Dave Rolsky, <autarch@urth.org>

BUGS ^

See Fey for details on how to report bugs.

COPYRIGHT & LICENSE ^

Copyright 2006-2008 Dave Rolsky, All Rights Reserved.

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