Skip to content

Commit

Permalink
Added note on when 'new' was added
Browse files Browse the repository at this point in the history
  • Loading branch information
jberger committed Oct 21, 2011
1 parent 23f73f4 commit 0e04180
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.pod
Expand Up @@ -72,6 +72,8 @@ Of course, the magical Perl C<tie> can be scary for some, for those people there

=head2 C<new> Constructor

[ Added in version 0.03 ]

The class method C<new> constructor is more flexible in its calling. The constructor must be passed a file name, either as the first argument, or as the value to the option key C<file>. Options may be passed as key-value pairs or as a hash reference. This yields the many ways of calling C<new> shown below, one for every taste.

my $array = Tie::Array::CSV->new( 'filename' );
Expand Down
2 changes: 2 additions & 0 deletions lib/Tie/Array/CSV.pm
Expand Up @@ -285,6 +285,8 @@ Of course, the magical Perl C<tie> can be scary for some, for those people there
=head2 C<new> Constructor
[ Added in version 0.03 ]
The class method C<new> constructor is more flexible in its calling. The constructor must be passed a file name, either as the first argument, or as the value to the option key C<file>. Options may be passed as key-value pairs or as a hash reference. This yields the many ways of calling C<new> shown below, one for every taste.
my $array = Tie::Array::CSV->new( 'filename' );
Expand Down

0 comments on commit 0e04180

Please sign in to comment.