#perl - Wed 14 Mar 2007 between 05:51 and 06:12



rado_....wonder if crowded elevators smell any different to midgets
whoa...this shit's gettin to me!
Jmax-what shit? is it shit you snort, smoke, or shoot up?
or lick or eat
rado_ummmm not that bad....it's this perl bit
jhiverso
i see you can create 'static' or 'dynamic'
what's the advantage / drawback of each method?
Jmax-ah ;)
jhiver: i think that static is the preffered method; dunno for sure
try irc.perl.org #catalyst
jhiverok
rado_c'mon you guys....
eMishhow do i url-encode a string with those %20 things ?
ayrnieuURI::Encodee
URI::Encode
AnAntif a function retuns several variables , and I only want few of them, how do I do that ?
actually the function is localtime
and I only wanted mday, mon & year
I tried (,,,$mday,$mon,$year,,,) = localtime(); but it didn't work
QauzzixYou can always just put it into an array and use an offset into that array.
ayrnieuanant - my ($mday, $mon, $year) = (localtime)[3,4,5];
AnAntayrnieu: thanks
ayrnieuyou can still it the way you wanted, with undefs on the LHS where you have nothing.
Jmax-yeah, that too
AnAntayrnieu: ok, thanks
ayrnieuhit-and-run.
rado_I know you guys know backuppc
rvallesI need to send ICMPs and observe the answers (custom type/code and get the response's type/code)
which CPAN modules would you recommend for that task?
somianrado_, why? No, I do not.
rvalles: Net::Ping
rado_somian, lol yikes...I thought it be given...it seems so popular
rvallessomian: but Net::Ping does only ping.
somian: it doesn't seem to allow to customize type/code or capture and parse the answer either....
Jmax-ICMP what exactly, then?
rvallesJmax-: again, I need to both create and send ICMPs with a custom type and code, and the other way around (receive and decode).
somianOne thing you'll find, rado_, is that there is a great variety of people using a great variety of software and hardware, here on #perl.
Jmax-so some unknown format using the ICMP transfer protocol?
rado_uh huh...for sure!

Page: 4 11 18 25 32 39 46 53 60 67 74 81 88 

IrcArchive