recentpopularlog in

therobyouknow : inspiration   63

Traveling Lightly Through Life | zen habits
Love this quote: A good traveler has no fixed plans, and is not intent on arriving. ~Lao Tzu
And I'm obsessed with doing: "Digitize. Digital music, books, and documents are not only easier to transporttheyre also easier to store. Use technology to transform physical possessions into bits and bytes: scan paperwork, convert CDs to MP3s, and buy electronic books instead of paper ones."
clutter  declutter  efficiency  excellent  gtd  howto  inspiration  life  lifehack  living  minimal  minimalism  philosophy  psychology  simplicity  travel  zenhabits 
october 2010 by therobyouknow
Print an array one element per line, with line numbering - Perl Circus - Perl Tricks, Tips And Traps.
in a foreach (@array), $_ *refers* to the element being looked at in an iteration. writing to $_ modifies the element in the original array - update in-place. This enables efficiency if passing the array around for stages of processing, rather than working with copies - and also ensures that the original data is updated (if that's what is required)
programming  tutorial  perl  inspiration  array  $_  in-place  inplace  update  within  loop  foreach  reference  efficiency  efficient  howto  computing  work  language  tip  iterate  alias  element  modify  original 
september 2009 by therobyouknow

Copy this bookmark:





to read