p...@mail.nsbeta.info wrote:
$ perl -MTime::Local -le 'print timelocal(0,0,0,1,1,1900)'
Cannot handle date (0, 0, 0, 1, 1, 1900) at -e line 1
why Time::Local can't handle the date of 1900?
Unix time starts at 1 Jan. 1970 so a time in 1900 is invalid.
John
--
Any intelligent fool can make th
this will work, Thank you!
On 30 January 2011 22:00, wrote:
> Jim Green writes:
>>
>> Hello,
>> I usually use my ($arg1, $arg2) = @_;
>> to get the arguments parsed to a subroutine.
>> I want this to be smarter. Sometimes I want to pass $start, $end to
>> the sub, sometimes I want to pass $start
Jim Green writes:
Hello,
I usually use my ($arg1, $arg2) = @_;
to get the arguments parsed to a subroutine.
I want this to be smarter. Sometimes I want to pass $start, $end to
the sub, sometimes I want to pass $start, $count to the sub.
but in this case my ($arg1, $arg2) = @_; will get co
Hello,
I usually use my ($arg1, $arg2) = @_;
to get the arguments parsed to a subroutine.
I want this to be smarter. Sometimes I want to pass $start, $end to
the sub, sometimes I want to pass $start, $count to the sub.
but in this case my ($arg1, $arg2) = @_; will get confused, it
doesn't know i
$ perl -MTime::Local -le 'print timelocal(0,0,0,1,1,1900)'
Cannot handle date (0, 0, 0, 1, 1, 1900) at -e line 1
why Time::Local can't handle the date of 1900?
Thanks.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://
On Sun, Jan 30, 2011 at 03:37:14PM +, Rob Dixon wrote:
> On 30/01/2011 14:09, a b wrote:
> >
> >I have a query regarding using lib modules
> >
> >1) I've some custom modules which uses various default routines like
> >"Net::rsh" etc
> >
> >Now, i want to pack all default routines into my lib a
On 30/01/2011 14:09, a b wrote:
I have a query regarding using lib modules
1) I've some custom modules which uses various default routines like "Net::rsh"
etc
Now, i want to pack all default routines into my lib and use that lib
in my custom modules i.e
package MyModule;
use lib "lib/test";
Hello All,
I have a query regarding using lib modules
1) I've some custom modules which uses various default routines like
"Net::rsh" etc
Now, i want to pack all default routines into my lib and use that lib in my
custom modules
i.e
package MyModule;
use lib "lib/test";(here i am placing my Rsh