perl simple recursive sub
This is my sub;
Code:
sub projName I've googled 'perl recursive subroutines' and the example don't appear to be doing anything different. Any ideas what I'm doing wrong? |
Not sure what your problem is ...
Code:
#!/usr/bin/perl -w Code:
$ perl sub.pl Cheers, Tink P.S.: I'm moving this over to programming where it's better suited. |
Quote:
Thanks to you it's working now. Regards, |
I also didn't 'chomp $PROJ'. Without that it is never a valid name.
|
Quote:
it's ALWAYS adivsable to do both the "-w" and "use strict;". Helps avoiding head-aches in the long run. Cheers, Tink |
All times are GMT -5. The time now is 07:08 AM. |