Exercise on subroutine
Am new to perl. been very determined make some lines of code fromRandal l. Swartz work.
write a subroutine named greet, that welcomes the person you name by telling them the name of the last person it greets.
This sequence of statement should print:
Hi Fred! you are the first one here!
Hi Barney i've seen Fred
Hi Wilma i;ve seen Fred Barney
HI Betty ive seen Fred Barney Wilma.
I have folloed the tips and even implemented defined operator and state but nothing seem to work. Anyone with extensive knowledge of this should please help me with the answer.