| Yaakov | "Scope? I don't need no stinking scope!" |
| sbingner | I never write anything without use strict |
| Yaakov | I do. One-liners. |
| sbingner | that doesn't count, lol |
| ntgrl | Good morning. |
| sbingner | giid evening |
| Yaakov | HELLO NTGRL A?S?L?! |
| buu | sbingner: I do, then they get to about 12 lines and I make a stupid typo and add strict. |
| ntgrl | ps sm t lst m vwls |
| sbingner | buu, lol I never use strict to find my typos... |
| buu | integral: Oh noes the nanomachines ate the people. |
| sbingner | but I suppose it might help for that |
| Yaakov | buu: What he really must mean is that he doesn't scope variables. Because there is NO DOWNSIDE to strict. |
| sbingner | integral, that sentence seemed to be missing more than vowels |
| integral | sbingner: It did? |
| buu | Yaakov: I guess so. |
| sbingner | what was ps? |
| integral | "oops I seem to [have] lost my vowels" |
| action | sbingner nods, it was missing a whole word |
| sbingner | nods, it was missing a whole word |
| Yaakov | What is the ADVANTAGE of not using strict? |
| integral | perl is a tiny bit faster at start up |
| sbingner | Yaakov, you can use more global variables! |
| Yaakov | integral: Quantify tiny. |
| integral | About 60 cycles I guess :-) But I may be underestimating |
| buu | integral: Why is harkness so awesome? |
| Yaakov | Ah, 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 |
| Yaakov | buu: Ironically, it is when I am in a hurry that I might be tempted to leave strict out and "cheat". |
| sbingner | and user time, and sys time... so yea... it's about .001 sec |
| f00li5h | how do i test \*DATA, for can-be-read-from'ability? -r complains about closed file handes |
| Yaakov | USE LEXICAL HANDLES (Not the solution.) |
| f00li5h | Yaakov: no, it's not. |
| sbingner | select perhaps? not sure if that would work for that |
| f00li5h | i want to know if it's open fileno, perhaps |
| sbingner | f00li5h, yea fileno returns undefined if the filehandle is not open. |