#perl - Thu 8 Mar 2007 between 21:03 and 21:31



finaldarkonethe proper directory gets into my @INC
but it complains that it can't find anything
Jmax-eh
then the proper directory does not go to your @INC
finaldarkoneproper path
Jmax-unless you made some other mistake like misnaming the files
punterHas anyone here implemented openid on their websites?
kingdonghello perlfolks
is there an easy way (module?) to find the delta of date like: Thu Mar 08 19:47:00 2007 - Thu Mar 08 19:50:11 2007
03:11 sec in this case
punterkingdong: I don't know, but why not convert both to epoch times and subtract?
kingdonghow can i convert this format to epoch ?
those are coming from an xml file
not generated by me
punterkingdong: I know of one module that works well - Time::Piece
Jmax-kingdong: DateTime, et al.
punterkingdong: If you choose the Time::Piece library, the class method you'll want to use for the conversion is strptime
kingdongyep i am looking at it at this very moment
thanks guys
punteras in $t0 = Time::Piece->strptime($string, 'format')
thedonvaughnhey guys, any regexp pros, I need to read a variable from a file 'VAR="BLAH BLAH2 BLAH3"' syntax. The variable can sometimes contain multipule lines. Any suggestions on a regexp match for this?
simcop2387-tvGumbyBRAIN, TV rocks now
merlynregex?
is this in Perl, right?
is this for a config file?
thedonvaughnmerlyn: sorry in perl correct
crungethedonvaughn: have you looked at any of the Config modules?
thedonvaughnhrm... good suggestion i have not
crungehttp://search.cpan.org/search?query=config&mode=all
thedonvaughnthanks
CaT[tm]would this duplicate what $hashref is pointing at (ie make a second copy of the data and make $hashref2 a reference to it): $hashref2 = {%{$hashref}}
merlynthat's a shallow copy
CaT[tm]?
GumbyBRAINso but hash.key could also do the cpan for you now?
CaT[tm]not sure what you mean, merlyn.
buuWoohoo, crates of girlscout cookies.
CaT[tm](or maybe I do but now I'm totally stumpd :)
siliFUCKIN JERK
SHARE
nanonymeGumbyBRAIN: cookies

Page: 5 12 19 26 33 40 47 54 61 68 75 82 89 

IrcArchive