perl_learner
Recent Actions
-
Commented on Exercise on subroutine
This is my try: #!/usr/bin/perl -w print "who do i greet?\n"; @person = qw / wilma? fred? Barney? Betty? /; foreach $person(@person) { $person = "\t$person"; $person .="\n"; } print "\n @person\n"; print "Pick one to greet now\n"; @greet =...
-
Posted Exercise on subroutine to perl_learner
hi there,
It reads:
write a subroutine named greet, that welcomes the person you name by telling them the name of the last person it greets.like; greet('fred');
greet('B…
Comment Threads
No responses to comments.
Responses to Comments from perl_learnerAbout blogs.perl.org
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.