@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34



Comments:

<0> its that easy?
<1> also Time::HiRes
<1> and the - operator :)
<2> $started = time(); do_some_stuff; print "It took ", time() - $started, " seconds.\n";



<3> oh crap i broke it
<4> unless you're synchronizing clocks .. seconds are mooooore than good enough
<0> sweet hobbs, thx
<2> Synchronize watches!
<4> hobbs: do we have to? :[
<5> s/foo/foo${i}bar/g does not compile
<3> (Missing operator before ?)
<3> OH, broke
<4> eval: s/foo/foo${i}bar/g
<6> Botje: Return:
<4> Hellaenergy: lies.
<2> Hellaenergy: does too
<5> :O
<2> of course it will fail strict if you don't have a $i declared in scope :)



<5> I get a syntax error
<3> so where does the second @head go to make it break that ****er up
<5> syntax error at ./jbuildout.pl line 74, near "s/foo/foo${i}bar/g"
<2> Hellaenergy: missing semicolon on the previous line or something? :)
<5> hobbs: good call :S
<7> ok, first we break each of the boy lines up with split: perl -we 'use Data::Dumper; open $D, "-|", "df" or die; @head = split " ", <$D>; while (<$D>) { @body = split " ", $_; print Dumper(\@body) }'
<5> Thanks for the help
<4> hobbs: OMG YOU ARE PSYCHIC?!
<2> Botje: I thought it was a requirement to get this job
<7> that's the same as we broke the head line up
<7> except we can omit the $_:
<7> perl -we 'use Data::Dumper; open $D, "-|", "df" or die; @head = split " ", <$D>; while (<$D>) { @body = split " "; print Dumper(\@body) }'
<7> because split will split $_ implicitly
<2> b_jonas: I hope you charge by the hour for cl***es. ;)


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #perl
or
Go to some related logs:

E576 viminfo
ubuntu log off remote users
print $10, awk
suse 9.3. additional-ips
gstreamer-0.8-lame
#fluxbox
#gimp
xorg.xconf monitor VM
usbview rescan
Calabi-Yau opengl



Home  |  disclaimer  |  contact  |  submit quotes