From: Mark Addison Date: Tue, 13 Apr 2004 20:22:58 +0000 (+0000) Subject: Doc fix. X-Git-Tag: v0.06~86 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8e1fc8615a68e43b247ec3b06a32a2cd4983767d;p=dbsrgits%2FSQL-Translator.git Doc fix. --- diff --git a/lib/SQL/Translator.pm b/lib/SQL/Translator.pm index 9656cea..41ce164 100644 --- a/lib/SQL/Translator.pm +++ b/lib/SQL/Translator.pm @@ -1,7 +1,7 @@ package SQL::Translator; # ---------------------------------------------------------------------- -# $Id: Translator.pm,v 1.54 2004-03-09 19:15:31 kycl4rk Exp $ +# $Id: Translator.pm,v 1.55 2004-04-13 20:22:58 grommit Exp $ # ---------------------------------------------------------------------- # Copyright (C) 2002-4 The SQLFairy Authors # @@ -27,7 +27,7 @@ use base 'Class::Base'; require 5.004; $VERSION = '0.05'; -$REVISION = sprintf "%d.%02d", q$Revision: 1.54 $ =~ /(\d+)\.(\d+)/; +$REVISION = sprintf "%d.%02d", q$Revision: 1.55 $ =~ /(\d+)\.(\d+)/; $DEBUG = 0 unless defined $DEBUG; $ERROR = ""; @@ -935,10 +935,11 @@ value, returns the current value. The C method is an accessor/mutator, used to retrieve or define what subroutine is called to produce the output. A subroutine defined as a producer will be invoked as a function (I) -and passed 2 parameters: its container C instance and a -data structure. It is expected that the function transform the data -structure to a string. The C instance is provided for -informational purposes; for example, the type of the parser can be +and passed its container C instance, which it should +call the C method on, to get the C +generated by the parser. It is expected that the function transform the +schema structure to a string. The C instance is also useful +for informational purposes; for example, the type of the parser can be retrieved using the C method, and the C and C methods can be called when needed.