aboutsummaryrefslogtreecommitdiff
path: root/Code/Perl/func_abc.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Code/Perl/func_abc.pl')
-rwxr-xr-xCode/Perl/func_abc.pl20
1 files changed, 20 insertions, 0 deletions
diff --git a/Code/Perl/func_abc.pl b/Code/Perl/func_abc.pl
new file mode 100755
index 000000000000..394f1c2b245a
--- /dev/null
+++ b/Code/Perl/func_abc.pl
@@ -0,0 +1,20 @@
+#!./perl -w
+
+sub func_c {
+ print "Function C\n";
+ sleep 1;
+}
+
+sub func_b {
+ print "Function B\n";
+ sleep 1;
+ func_c();
+}
+
+sub func_a {
+ print "Function A\n";
+ sleep 1;
+ func_b();
+}
+
+func_a();