Hacker News new | ask | show | jobs
by tmaly 3285 days ago
I have a small perl script I wrote called helpme

by default it shows a list of topics. Then if you run it with the topic, it displays the details about the topic. I use it to remember how to do less frequent stuff at my day job.

2 comments

I was using a blog for this, but I hate maintaining a blog.

I'm going to use this instead!

How does it work?
Its super simple 11 lines of code then lines for the topics and description.

I have a topics hash/dictionary.

If the helpme command is run without a topic argument, it prints out all the topic keys to the dictionary one per line.

If it is run with a topic argument, it just prints out the value for that topic.