|
|
| No such thing as a small change | |
| PerlMonks |
Re: Re: Re: Listing filesby snapdragon (Monk) |
| on Feb 13, 2002 at 07:36 UTC ( [id://145146]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
The shift in the code is there to return the directory that is passed in the get_month_year. In the get_month_year sub the parent directory is needed - the shift operator does this by shifting the first value of the array off and returning it (the parent directory 'c:' in this case).
You can find more info on the shift node.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||