#perl - Mon 12 Mar 2007 between 10:40 and 10:46



annoperlygatekeeper: no, those hashes aren't objects
the objects are usually just blessed refs to an undefined scalar
integralGood afternoon.
f00li5hintegral: 'ello
perlygatekeeperintegral, do you guys in UK do Daylight Savings Time or is this Idiocy just a yank thang?
anno, is NOT
annois not what?
hobbswhat is not what? Am I the only one who hasn't seen pgk say anything coherent since I came in? :)
perlygatekeeperanno, most of the objects I've run across are blessed references to hashes
eMish;
f00li5hperlygatekeeper: someone is having each o'clock arround the word
perlygatekeepernot scalars
integralYes, we do it, but we don't change it. It'd be a bloody miracal for parliament to agree on a change.
annoright. or other types.
hobbsperlygatekeeper: yes, and these aren't most objects :)
f00li5hhobbs: i've also seen that not happening
annoioo are different in that respect
perlygatekeeperoh good lord are you lucky
eMishHow can I have perl print call stack at runtime errors, (not only line number of the bottom-level function) ?
perlygatekeeperI wish theyed just eliminate it
integraleMish: Usee the Carp module
f00li5heMish: confess
annoeMish Carp::confess
Carp::cluck
f00li5htehe, cluck
integralYou can get it to automatically happen with: BEGIN { require Carp; $SIG{__DIE__} = \&Carp::confess; $SIG{__WARN__} = \&Carp::cluck }
perlygatekeeperimagine, an event happens at 2:30AM Septemter 21, and one must ask, which 2:30AM the first or the second
eMishgreat
integralThere's also modules like CGI::Carp.
f00li5hperlygatekeeper: pardon?
annothere's also a way to make carp confess when it originally was asked to croak/carp
perlygatekeeperbecause of Daylight Savings time
f00li5hperlygatekeeper: you only get one 0230 per timezone per day
integralperlygatekeeper: What we should do it have the timezone vary in second increments through out the year, so that each night we either have one less second, no extra seconds, or 1 extra second.
perlygatekeepernot on the fall change over day
hobbsperlygatekeeper: with inside-out, since the data isn't stored _in_ the thing that's being referenced, the only requirement is that it be blessed, and unique.
and obviously scalars are small and simple :)
f00li5hperlygatekeeper: i'd imagine that NTP would make that hour run at a different speed
perlygatekeeperthat would adjust things 365/2 seconds
hobbsf00li5h: no...

Page: 5 12 19 26 33 40 47 54 61 68 75 82 89 96 103 110 117 

IrcArchive