perl_learner
- About: I blog about Perl.
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.
About blogs.perl.org
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.