Skip to content

Commit

Permalink
Update example in 4.7.2 Captures In Signatures
Browse files Browse the repository at this point in the history
(obsolete use of | with sigil in param )
Discovered by 宋文泰 in https://rt.perl.org/Ticket/Display.html?id=122915
  • Loading branch information
usev6 committed Dec 7, 2014
1 parent c27d240 commit c17efab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/subs-n-sigs.pod
Expand Up @@ -1071,10 +1071,10 @@ that delegate to other routines with the same arguments.

=begin programlisting

sub visit-czechoslovakia(|$plan) {
sub visit-czechoslovakia(|plan) {
warn "Sorry, this country has been deprecated.";
visit-slovakia(|$plan);
visit-czech-republic(|$plan);
visit-slovakia(|plan);
visit-czech-republic(|plan);
}

=end programlisting
Expand Down

0 comments on commit c17efab

Please sign in to comment.