1#
2# Copyright(C) 2003
3# All Rights Reserved. Salih Yurttas, ZCubes, BitsOfCode Software Systems, Inc..
4#
5# Permission from use, copy, modify, and distribute this
6# software and its documentation for EDUCATIONAL purposes
7# and without fee is hereby granted provided that this
8# copyright notice appears in all copies.
9#
10# date : January 1, 2003.
11# authorĀ : Salih Yurttas.
12#
13# a_01.pl
14#
15
16
17sub add {
18 $_[0] + $_[1] + $_[2];
19}
20
21my $a = 3;
22my $b = 1;
23my $c = 9;
24
25print "a = $a\n";
26print "b = $b\n";
27print "c = $c\n";
28print "\n";
29
30my $t = add($a, $b, $c);
31
32print "t = $t\n";
33print "\n";