/ domm

I hack Perl for fun and
profit.

Follow me on twitter!
Atom Icom ... on Atom!
<<<<<<<<<<
09.08.2011: App::TimeTracker 2.008 released (finally!)
04.07.2011: Deploying a Dancer/Postgres app on dotCloud
04.09.2010: All following posts were imported from use.perl.org
09.04.2010: oe1.orf.at relaunch done
27.03.2010: Perl QA Hackathon 2010 Update
10.02.2010: Perl QA Hackathon: Last call to apply for sponsorship
30.01.2010: hmm, Nordic Perl Workshop...
29.01.2010: Perl QA Hackathon 2010 Venue & Vienna.pm Sponsorship
18.12.2009: sack

After typing ack 'sub foo' lib for the approximately thousandth time during some refactoring sessions, I couldn't be bothered anymore and added the following snippet to my realias (after some googling on how to get params into an alias, which does not work in bash, so I had to solve it via a bash function):

sack () {

   ack "sub $1" lib

}

To find a given method in some of our labyrinthine code, I now say

~/projects/Foo-Bar$ sack annoying_method

and get a list of all occurrences.

yay!

P.S.: The name sack has nothing do with subroutine ack, but of course comes from the Austrian saying "Gemma ned am sack, oida!"

Original: http://use.perl.org/~domm/journal/40039

Legacy comments

maettu: yesss! (orignal post)

"Gemma ned am sack, oida!"

Läng mer's Gwehr! (Swiss German saying)

Comments (via disqus)

25.08.2009: perlthanks
>>>>>>>>>>