• About: I blog about Perl.
  • 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');

Subscribe to feed Recent Actions from perl_learner

No responses to comments.

Subscribe to feed Responses to Comments from perl_learner

About 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 hosted by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.