Skip to content

Commit

Permalink
Fix typo in perldelta
Browse files Browse the repository at this point in the history
  • Loading branch information
Chip Salzenberg authored and Chip Salzenberg committed Apr 30, 1997
1 parent 0146554 commit 3e07908
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pod/perldelta.pod
Expand Up @@ -201,11 +201,11 @@ A subroutine reference may now be suffixed with an arrow and a
(possibly empty) parameter list. This syntax denotes a call of the
referenced subroutine, with the given parameters (if any).

This new syntax follows the pattern of C<$hashref-E<gt>{FOO}> and
C<$aryref-E<gt>[$foo]>; now, C<&$subref($foo)> may now be written
C<$subref-E<gt>($foo)>. All of these arrow terms may be chained;
thus, C<&{$table-E<gt>{FOO}}($bar)> may now be written
C<$table-E<gt>{FOO}->($bar)>.
This new syntax follows the pattern of S<C<$hashref-E<gt>{FOO}>> and
S<C<$aryref-E<gt>[$foo]>>: You may now write S<C<&$subref($foo)>> as
S<C<$subref-E<gt>($foo)>>. All of these arrow terms may be chained;
thus, S<C<&{$table-E<gt>{FOO}}($bar)>> may now be written
S<C<$table-E<gt>{FOO}-E<gt>($bar)>>.

=back

Expand Down

0 comments on commit 3e07908

Please sign in to comment.