Home Page   #c  #ruby-lang  #cisco  #mysql  #apache  #javascript  #java  #perl  #php  #openmoko   Wallpapers Girl
Reliable $1 Web Hosting by 3iX

Channels


#perl

01 October 2007


Total 30 pages. You are browsing page 30/30.

First :: Prev :: [...] [26] [27] [28] [29] [30] :: Next :: Last

23:10 <****> ty zoffix
23:10 <****> GumbyBRAIN: What's so funny, meow?
23:10 <****> I see. So it was funny for the meow.
23:10 <****> thats what i needed
23:10 <****> eone explain me the first 3/4 part (if its required code in a script, and what a session is) - http://search.cpan.org/~tag/POE-Component-Client-TCPMulti-0.0521/lib/POE/Component/Client/TCPMulti.pod
23:10 <****> thanks Roderick
23:10 <****>prepare("select * from table;") and i want to check if there are any results, i do if (not $blah) { print "none found\n"; doesn't seem to work if 0 rows are returned
23:11 <****> hell`, you are doing it wrong
23:11 <****> how do i check that?
23:11 <****> hell`, see the documentation.
23:11 <****> [?6c[?6c
23:11 <****>fetch and alikes
23:12 <****> which documentation?
23:12 <****> perlbot, perldoc DBD
23:12 <****> Documentation for 'DBD' can be found here: http://tinyurl.com/2pjew5
23:13 <****> perlbot has the wrong url
23:13 <****>fetch) { "nothing found" }
23:13 <****> ok
23:13 <****> thanks
23:13 <****> hell`, http://search.cpan.org/~timb/DBI-1.59/DBI.pm
23:23 <****> Zoffix?
23:24 <****> ....
23:25 <****> dip?
23:25 <****> ahh.. it's finally a time for a doobie!
23:32 <****> GumbyBRAIN, i severely miss something....
23:32 <****> You just want ltrim, rtrim and trim, or something like a girl and probably miss.
23:37 <****> GumbyBRAIN: be hal9000
23:37 <****> Mauke, 5000 not 9000.
23:37 <****> GumbyBRAIN, be dongs
23:37 <****> For a certification report, im collecting all the staff appeared to be obsessed with dongs, it's all about dongs.
23:38 <****> GumbyBRAIN: are you saying you made a mistake?
23:38 <****> bah
23:38 <****> GumbyBRAIN, we all alien ?
23:38 <****> Whereupon they get annoyed when i'm around people who unfortunately have to make sure... It works with thin clients (among other things, and build-essential will catch all of the gig they are instantly recognizable as alien.
23:40 <****> is there someway to get the output of `date +\%Y\%m\%d` minus one day, two days, three days, etc using the date command itself?
23:40 <****> t35t0r: yes
23:41 <****> dondelelcaro, how?
23:41 <****> t35t0r: date -d 'yesterday'; etc.
23:41 <****> date -d 'now - 4 day'; blah blah blah
23:41 <****>
23:41 <****> (that won't be supported on all systems)
23:42 <****> at least, I don't believe so ;)
23:42 <****> dunno; if you really wanted to be supported on all systems, you'd use DateTime or similar
23:42 <****> yep
23:42 <****> is DateTime a core perl module?
23:42 <****> negative
23:42 <****> heh :(
23:43 <****> use POSIX::strftime, then
23:43 <****> it's at least going to be present whenever date is
23:43 <****> (and the sort of one day granularity is trivial to do with it)
23:43 <****> I don't understand people's reaction to using non-core modules
23:44 <****> or just use math
23:44 <****> dec: some situtations just make it painful... but generally the pain of not using them is worse
23:44 <****> no using math is not an option
23:44 <****> thinking is not an option
23:44 <****> dec, it's obvious; it takes more work to make the program portable across various platforms when non-core modules are used... or people don't like installing modules :-)
23:44 <****> eval: localtime(time - 86400)
23:44 <****> hobbs: Sun Sep 30 14:46:35 2007
23:44 <****> what is 86400 seconds?
23:45 <****> eval: 60 * 60 * 24
23:45 <****> hobbs: 86400
23:45 <****> normally one day
23:45 <****> dondelelcaro: always one day, in the unix timescale.
23:46 <****> dondelelcaro: (side effect: midnight UTC of any day == 0 (mod 86400), always)
23:46 <****> hobbs: sure, but the unix timescale is a subset of all possible timescales
23:46 <****> dondelelcaro: and yet it's the only one that localtime() cares about ;)
23:47 <****> hobbs: yeah, but he asked what 86400 seconds was, and it's normally one day.
23:48 <****> GumbyBRAIN: perldoc -f meow
23:48 <****> Meow meow meow?
--- Log closed Tue Oct 02 00:00:43 2007


Total 30 pages. You are browsing page 30/30.

First :: Prev :: [...] [26] [27] [28] [29] [30] :: Next :: Last


Tutti i nuovi CAP Italiani. Come ottenere il database completo