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 exchange() {
18 my $t = $x;
19 $x = $y;
20 $y = $t;
21}
22
23$x = 4;
24$y = 8;
25
26print "\n";
27print "0 / \n";
28print "$x, $y";
29print "\n";
30
31
32exchange();
33
34print "\n";
35print "1 / \n";
36print "$x, $y";
37print "\n";