File: TryCatchTest.pm

package info (click to toggle)
libtrycatch-perl 1.003000-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 464 kB
  • sloc: perl: 2,590; ansic: 19; makefile: 15
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;