caterham7 has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to change a php script into perl and have a couple of issues:
- what is the equivalent in perl to "foreach($the_days as $eachday){etc. " in perl?
- what is the equivalent in perl to "$the_days[$j] = strftime("%a, %d %b %Y", strtotime("+$jump days"));"
Many thanks
Edit: g0n - code tags & line breaks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: converting from php
by Corion (Patriarch) on Nov 20, 2005 at 17:59 UTC | |
|
Re: converting from php
by cees (Curate) on Nov 21, 2005 at 03:33 UTC | |
|
Re: converting from php
by TedPride (Priest) on Nov 21, 2005 at 05:44 UTC |