File: TryCatchTest.pm

package info (click to toggle)
libtrycatch-perl 1.003002-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 500 kB
  • sloc: perl: 2,753; ansic: 19; makefile: 3
file content (10 lines) | stat: -rw-r--r-- 110 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
package TryCatchTest;

sub foo {
  return bar() + baz();
}

sub bar { return 12; }
sub baz { return 30; }

1;