#perl - Wed 18 Apr 2007 between 07:39 and 07:47



Yaakov"Scope? I don't need no stinking scope!"
sbingnerI never write anything without use strict
YaakovI do. One-liners.
sbingnerthat doesn't count, lol
ntgrlGood morning.
sbingnergiid evening
YaakovHELLO NTGRL A?S?L?!
buusbingner: I do, then they get to about 12 lines and I make a stupid typo and add strict.
ntgrlps sm t lst m vwls
sbingnerbuu, lol I never use strict to find my typos...
buuintegral: Oh noes the nanomachines ate the people.
sbingnerbut I suppose it might help for that
Yaakovbuu: What he really must mean is that he doesn't scope variables. Because there is NO DOWNSIDE to strict.
sbingnerintegral, that sentence seemed to be missing more than vowels
integralsbingner: It did?
buuYaakov: I guess so.
sbingnerwhat was ps?
integral"oops I seem to [have] lost my vowels"
actionsbingner nods, it was missing a whole word
sbingnernods, it was missing a whole word
YaakovWhat is the ADVANTAGE of not using strict?
integralperl is a tiny bit faster at start up
sbingnerYaakov, you can use more global variables!
Yaakovintegral: Quantify tiny.
integralAbout 60 cycles I guess :-)
But I may be underestimating
buuintegral: Why is harkness so awesome?
YaakovAh, well... I will not remove strict from all my programs! I didn't realize it was a CPU hog.
sbingner.001 sec difference in 'real' time on my system
Yaakovbuu: Ironically, it is when I am in a hurry that I might be tempted to leave strict out and "cheat".
sbingnerand user time, and sys time... so yea... it's about .001 sec
f00li5hhow do i test \*DATA, for can-be-read-from'ability?
-r complains about closed file handes
YaakovUSE LEXICAL HANDLES
(Not the solution.)
f00li5hYaakov: no, it's not.
sbingnerselect perhaps?
not sure if that would work for that
f00li5hi want to know if it's open
fileno, perhaps
sbingnerf00li5h, yea fileno returns undefined if the filehandle is not open.

Page: 1 8 15 22 29 36 43 50 57 64 71 78 85 92 99 

IrcArchive