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
In reply to converting from php by caterham7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |