Re: User input: dates spanning multiple months

2007-09-10 Thread Chas Owens
On 9/10/07, Paul Lalli <[EMAIL PROTECTED]> wrote: snip > The above is also using the qw// operator, using < and > as the > delimiters. This creates a list of single quoted strings. So if the snip And the reason I chose <> is that in Perl 6 qw// is will be replaced by the diamond operator*. Also

Re: User input: dates spanning multiple months

2007-09-10 Thread Paul Lalli
On Sep 10, 1:18 pm, [EMAIL PROTECTED] (Mathew Snyder) wrote: > Thanks. But I'm confused by > > > my %start; @start{qw} = split /\//, shift; > > my %end; @end{qw} = split /\//, shift; > > What's happening here? Quite a bit, actually. Let's go right to left. First, shift() without an argument

Re: User input: dates spanning multiple months

2007-09-10 Thread Mathew Snyder
Chas Owens wrote: > On 9/10/07, Mathew Snyder <[EMAIL PROTECTED]> wrote: >> I have a script which has to be manually edited to run for a span of days. >> When >> these days are over several weeks it can be clearly tedious to enter dates in >> -mm-dd format. I've decided to set it up to ask f

Re: User input: dates spanning multiple months

2007-09-10 Thread Mathew Snyder
erstein [mailto:[EMAIL PROTECTED] > Sent: 10 September 2007 14:33 > To: 'Mathew Snyder'; 'Perl Beginners' > Subject: AW: User input: dates spanning multiple months > > First I would use unix internal time format(epochen). > And I would use Date-Calc (search.cpan.org/d

Re: User input: dates spanning multiple months

2007-09-10 Thread Paul Lalli
On Sep 10, 7:18 am, [EMAIL PROTECTED] (Mathew Snyder) wrote: > I have a script which has to be manually edited to run for a span of days. > When > these days are over several weeks it can be clearly tedious to enter dates in > -mm-dd format. I've decided to set it up to ask for user input. >

RE: User input: dates spanning multiple months

2007-09-10 Thread Andrew Curry
- From: Angerstein [mailto:[EMAIL PROTECTED] Sent: 10 September 2007 14:33 To: 'Mathew Snyder'; 'Perl Beginners' Subject: AW: User input: dates spanning multiple months First I would use unix internal time format(epochen). And I would use Date-Calc (search.cpan.org/dist/Date-Calc

RE: User input: dates spanning multiple months

2007-09-10 Thread Andrew Curry
http://www.unix.org.ua/orelly/perl/cookbook/ch03_06.htm -Original Message- From: Angerstein [mailto:[EMAIL PROTECTED] Sent: 10 September 2007 14:33 To: 'Mathew Snyder'; 'Perl Beginners' Subject: AW: User input: dates spanning multiple months First I would use unix

AW: User input: dates spanning multiple months

2007-09-10 Thread Angerstein
Snyder [mailto:[EMAIL PROTECTED] Gesendet: Montag, 10. September 2007 13:18 An: Perl Beginners Betreff: User input: dates spanning multiple months I have a script which has to be manually edited to run for a span of days. When these days are over several weeks it can be clearly tedious to enter

Re: User input: dates spanning multiple months

2007-09-10 Thread Chas Owens
On 9/10/07, Mathew Snyder <[EMAIL PROTECTED]> wrote: > I have a script which has to be manually edited to run for a span of days. > When > these days are over several weeks it can be clearly tedious to enter dates in > -mm-dd format. I've decided to set it up to ask for user input. > > What

User input: dates spanning multiple months

2007-09-10 Thread Mathew Snyder
I have a script which has to be manually edited to run for a span of days. When these days are over several weeks it can be clearly tedious to enter dates in -mm-dd format. I've decided to set it up to ask for user input. What I need is some input on is how to make it create the array for al