Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: NDBM_File won't store data

by HamNRye (Monk)
on Aug 28, 2003 at 17:18 UTC ( [id://287457]=note: print w/replies, xml ) Need Help??


in reply to Re: NDBM_File won't store data
in thread NDBM_File won't store data

Here is the MakeDate sub:

sub MakeDate { my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localti +me(time); $year = ($year + 1900) ; $mon++ ; my $date = sprintf("%04D%02d%02d", $year, $mon, $mday); return $date; }

That should be a string right??

Replies are listed 'Best First'.
Re: Re: Re: NDBM_File won't store data
by dash2 (Hermit) on Sep 01, 2003 at 13:17 UTC
    Yup... so my idea wasn't right.

    I've had some problems using DBM_* in Perl before - some of them have awkward little bugs like a tendency to die if you untie the object in the right place. But what yours is, I don't know.
    A massive flamewar beneath your chosen depth has not been shown here

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://287457]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2024-04-18 14:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found