From: Justin Guenther Date: Sat, 25 Mar 2006 08:49:58 +0000 (+0000) Subject: removed parentheses from argument lists in docs X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ebc77b538ae411ffc5a5e6451eded2f5d999f2cb;p=dbsrgits%2FDBIx-Class-Historic.git removed parentheses from argument lists in docs --- diff --git a/lib/DBIx/Class/Relationship/Base.pm b/lib/DBIx/Class/Relationship/Base.pm index ca3ba74..a8d3d3c 100644 --- a/lib/DBIx/Class/Relationship/Base.pm +++ b/lib/DBIx/Class/Relationship/Base.pm @@ -23,7 +23,7 @@ methods, for predefined ones, look in L. =over 4 -=item Arguments: ('relname', 'Foreign::Class', $cond, $attrs) +=item Arguments: 'relname', 'Foreign::Class', $cond, $attrs =back @@ -92,7 +92,7 @@ created, which calls C for the relationship. =over 4 -=item Arguments: ($relname, $rel_info) +=item Arguments: $relname, $rel_info =back @@ -107,7 +107,7 @@ sub register_relationship { } =over 4 -=item Arguments: ($relationship_name) +=item Arguments: $relationship_name =item Return Value: $related_resultset diff --git a/lib/DBIx/Class/ResultSet.pm b/lib/DBIx/Class/ResultSet.pm index a89c38c..f240e8b 100644 --- a/lib/DBIx/Class/ResultSet.pm +++ b/lib/DBIx/Class/ResultSet.pm @@ -265,7 +265,7 @@ sub search_literal { =over 4 -=item Arguments: (@values | \%cols), \%attrs? +=item Arguments: @values | \%cols, \%attrs? =item Return Value: $row_object @@ -615,7 +615,7 @@ is derived. =over 4 -=item Arguments: ($cond, \%attrs?)? +=item Arguments: $cond, \%attrs?? =item Return Value: $count diff --git a/lib/DBIx/Class/ResultSource.pm b/lib/DBIx/Class/ResultSource.pm index cfa8bc9..6773ed4 100644 --- a/lib/DBIx/Class/ResultSource.pm +++ b/lib/DBIx/Class/ResultSource.pm @@ -209,7 +209,7 @@ sub columns { =over 4 -=item Arguments: (@cols) +=item Arguments: @cols =back @@ -420,7 +420,7 @@ sub relationships { =over 4 -=item Arguments: ($relname) +=item Arguments: $relname =back @@ -437,7 +437,7 @@ sub relationship_info { =over 4 -=item Arguments: ($rel) +=item Arguments: $rel =back @@ -454,7 +454,7 @@ sub has_relationship { =over 4 -=item Arguments: ($relation) +=item Arguments: $relation =back @@ -493,7 +493,7 @@ sub resolve_join { =over 4 -=item Arguments: ($cond, $as, $alias|$object) +=item Arguments: $cond, $as, $alias|$object =back @@ -536,7 +536,7 @@ sub resolve_condition { =over 4 -=item Arguments: (hashref/arrayref/scalar) +=item Arguments: hashref/arrayref/scalar =back @@ -641,7 +641,7 @@ sub resolve_prefetch { =over 4 -=item Arguments: ($relname) +=item Arguments: $relname =back @@ -661,7 +661,7 @@ sub related_source { =over 4 -=item Arguments: ($relname) +=item Arguments: $relname =back diff --git a/lib/DBIx/Class/Row.pm b/lib/DBIx/Class/Row.pm index b230208..1bdcd58 100644 --- a/lib/DBIx/Class/Row.pm +++ b/lib/DBIx/Class/Row.pm @@ -375,7 +375,7 @@ sub is_changed { =over 4 -=item Arguments: ($column, $column_info) +=item Arguments: $column, $column_info =back diff --git a/lib/DBIx/Class/Schema.pm b/lib/DBIx/Class/Schema.pm index 4f3a545..9a6acca 100644 --- a/lib/DBIx/Class/Schema.pm +++ b/lib/DBIx/Class/Schema.pm @@ -59,7 +59,7 @@ particular which module inherits off which. =over 4 -=item Arguments: ($moniker, $component_class) +=item Arguments: $moniker, $component_class =back @@ -79,7 +79,7 @@ sub register_class { =over 4 -=item Arguments: ($moniker, $result_source) +=item Arguments: $moniker, $result_source =back @@ -105,7 +105,7 @@ sub register_source { =over 4 -=item Arguments: ($moniker) +=item Arguments: $moniker =item Return Value: $classname @@ -128,7 +128,7 @@ sub class { =over 4 -=item Arguments: ($moniker) +=item Arguments: $moniker =item Return Value: $result_source @@ -174,7 +174,7 @@ sub sources { return keys %{shift->source_registrations}; } =over 4 -=item Arguments: ($moniker) +=item Arguments: $moniker =item Return Value: $result_set @@ -286,7 +286,7 @@ sub load_classes { =over 4 -=item Arguments: ($target_namespace, @db_info) +=item Arguments: $target_namespace, @db_info =item Return Value: $new_schema @@ -411,7 +411,7 @@ sub compose_namespace { =over 4 -=item Arguments: ($target, @info) +=item Arguments: $target, @info =back @@ -431,7 +431,7 @@ sub setup_connection_class { =over 4 -=item Arguments: (@args) +=item Arguments: @args =item Return Value: $new_schema @@ -464,7 +464,7 @@ sub connection { =over 4 -=item Arguments: (@info) +=item Arguments: @info =item Return Value: $new_schema @@ -512,7 +512,7 @@ sub txn_rollback { shift->storage->txn_rollback } =over 4 -=item Arguments: (C<$coderef>, @coderef_args?) +=item Arguments: C<$coderef>, @coderef_args? =item Return Value: The return value of $coderef @@ -643,7 +643,7 @@ sub clone { =over 4 -=item Arguments: ($moniker, \@data); +=item Arguments: $moniker, \@data; =back @@ -679,7 +679,7 @@ sub populate { =over 4 -=item Arguments: ($message) +=item Arguments: $message =back @@ -697,7 +697,7 @@ sub throw_exception { =over 4 -=item Arguments: ($sqlt_args) +=item Arguments: $sqlt_args =back diff --git a/lib/DBIx/Class/Storage/DBI/Cursor.pm b/lib/DBIx/Class/Storage/DBI/Cursor.pm index 26dca84..a63b2a6 100644 --- a/lib/DBIx/Class/Storage/DBI/Cursor.pm +++ b/lib/DBIx/Class/Storage/DBI/Cursor.pm @@ -57,7 +57,7 @@ sub new { =over 4 -=item Arguments: (none) +=item Arguments: none =item Return Value: \@row_columns @@ -99,7 +99,7 @@ sub next { =over 4 -=item Arguments: (none) +=item Arguments: none =item Return Value: \@row_columns+