Perl Subroutines: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

1 February 2011

  • curprev 18:2118:21, 1 February 2011 Scott talk contribs 940 bytes +940 Created page with '== Define == <source lang="perl"> sub hypotenuse { return sqrt( ($_[0] ** 2) + ($_[1] ** 2) ); # "return" is optional } sub print_name_and_age { my ($name, $age) = @_; …'