The Linux utility command echo takes any number of command-line arguments and prints them out, e.g.,
comp315@turing> echo Le language Perl est magnifique.
Le language Perl est magnifique.
Write the shortest Perl program that does the same thing (and call it myecho.pl), but separates the command-line arguments with "***", i.e.,
comp315@turing> ./myecho.pl Le language Perl est magnifique.
Le***language***Perl***est***magnifique.
Modify the above program such that it will use a subroutine to do the same thing. Call it myechosub.pl.
comp315@turing> ./myechosub.pl un deux troi quatre
un***deux***troi***quatre