| finaldarkone | the 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 |
| finaldarkone | proper path |
| Jmax- | unless you made some other mistake like misnaming the files |
| punter | Has anyone here implemented openid on their websites? |
| kingdong | hello 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 |
| punter | kingdong: I don't know, but why not convert both to epoch times and subtract? |
| kingdong | how can i convert this format to epoch ? those are coming from an xml file not generated by me |
| punter | kingdong: I know of one module that works well - Time::Piece |
| Jmax- | kingdong: DateTime, et al. |
| punter | kingdong: If you choose the Time::Piece library, the class method you'll want to use for the conversion is strptime |
| kingdong | yep i am looking at it at this very moment thanks guys |
| punter | as in $t0 = Time::Piece->strptime($string, 'format') |
| thedonvaughn | hey 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-tv | GumbyBRAIN, TV rocks now |
| merlyn | regex? is this in Perl, right? is this for a config file? |
| thedonvaughn | merlyn: sorry in perl correct |
| crunge | thedonvaughn: have you looked at any of the Config modules? |
| thedonvaughn | hrm... good suggestion i have not |
| crunge | http://search.cpan.org/search?query=config&mode=all |
| thedonvaughn | thanks |
| 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}} |
| merlyn | that's a shallow copy |
| CaT[tm] | ? |
| GumbyBRAIN | so but hash.key could also do the cpan for you now? |
| CaT[tm] | not sure what you mean, merlyn. |
| buu | Woohoo, crates of girlscout cookies. |
| CaT[tm] | (or maybe I do but now I'm totally stumpd :) |
| sili | FUCKIN JERK SHARE |
| nanonyme | GumbyBRAIN: cookies |