Skip to content

Erics Assignment

Eric's Online Perl Tutorial
Perl - Scripting Basics & Advanced Techniques

WM112/WM113 Merrimack College Webmaster Certificate Program
Eric D. Larson, Instructor

Recommended Texts:Learning Perl Second Edition
Randal L. Schwartz & Tom Christiansen
O'Reilly & Associates, Inc. 1997
ISBN: 1-56592-284-0
CGI Programming on the World Wide Web
Shishir Gundavaram
1st Edition March 1996
1-56592-168-2, Order Number: 1682
450 pages, $32.95
Webmaster In A Nutshell
By Stephen Spainhour & Valerie Quercia
1st Edition October 1996
374 pages, $19.95

Course Objectives:
    Perl, Perl, and nothing but Perl...  well ok, maybe some CGI stuff too!
    This course will take you through all aspects of Perl programming and how it can be used for web development.
    Data Structures: Scalars, Arrays, Hashes
    Control Blocks: if/then/else, while/for/foreach loops
    Basic I/O: File Handles, STDIN/STDOUT
    Advanced I/O: Interacting with the OS, Working with Files & Directories, Formats
    Regular Expressions: Pattern Matching, Substitutions
    Functions: Subroutines
    CGI Programming in Perl: Dynamic HTML Generation, Form Processing
    Perl Packages: Modules, Reusable Code
    LWP: The Web Library for Perl

Session 1
Handout 1    Handout 2
Unix Commands Handout
HTML Color Table
Handout:Hello World/print examples

Assignment: Skim over Preface & Chapter 1, Read Chapter 2 - Homework #1

Session 2
    Scalar Data & Data Manipulation: Operators
    Programming Style:  Use of comments, indenting, blank space/spacers
    Getting Input from the user: <STDIN> as a scalar value
    In-Class Assignment: Exercises 1, 2, 3, 4 p. 47
    Handout: Ch2 Exercises

    Assignment: Read Chapter 2 (if you haven't already), 3 & 4 - Homework #2

Session 3
    Conditionals: if...then...else
    Loops:  while, for, foreach - Examples
    Arrays & Lists
    CGI Overview
    How to generate web pages with perl programs

    Assignment:  Read Chapter 5 & 6 - Homework #3

Session 4
    Hashes (cont.)
      Read Chapter 8, 10, 14(pages 142-147 only)

Session 5
    File Handles
    System I/O

Session 6
Handout1    Handout2
    The Perl CGI Module
    Form Processing with Perl


Session 7
Handout 1
Other cool stuff you should know...
How to use cron

Session 8
Regular Expressions & Pattern Matching

Session 9
Hash & Array References, Records

Session 10
Mail & Web Clients
Sending Email with Perl

Session 11
Parsing and Scraping HTML with Perl

Session 12
File Locking

Session 13
Perl FTP Clients

Session 14
Database Access in Perl

Perl Related Web Sites:

Street Notes is your personalized guide and journal for you to develop your photography skills and to re-inspire your creative process. Each photography assignment will help you to build your confidence, break out of your comfort zone, and explore your creative potential. This handbook is full of practical hands-on assignments that can help you get out of your “funk”–and to hit the streets with new enthusiasm.

Our Mission

Cindy and I believe in making educational resources that can empower and inspire others. From this dream came “Street Notes”–a journal and resource for aspiring photographers. Over the past 2 years, we have worked hard to edit and distill down fifteen specific photography assignments that can help improve your photography.

We designed Street Notes to not just be a book, but a tool. Street Notes is an interactive journal, a pocket-sized workshop, and a community of learners.

Check out our newest book from Haptic Press, Photo Journal: Personal Photography Reflections.


We intentionally made Street Notes pocket sized, 3.5 X 5.5 inches, 44 pages (100% recycled paper) so that you could always carry it with you. While many of the ideas have been published on the blog before, we wanted to create a pocket-sized “workshop in a book.”

Street Notes can always be carried with you while you’re on the streets shooting, on your morning commute, or enjoyed alongside a nice cup of coffee or glass of wine.


We hope that Street Notes will be a tool to connect with other photographers seeking to learn and improve their photography. Share tips, host meet ups, and follow along the photographic journey with the hashtag #streetnotes on Instagram, Twitter, and Facebook.


“I’ve been a big fan of Eric’s and an avid follower of his blog for several years, having initially stumbled upon it looking for gear reviews when buying my first camera. If you’re not familiar, Eric is a street photographer and teacher, who, over the past five years or so, has used his blog as a medium to educate and empower aspiring “streettogs” by sharing the practical (technique-oriented) knowledge he has gained during his career, as well as distilled lessons from his studies of the masters of the genre and his own uplifting, well-considered musings on life and philosophy. If you haven’t already, do yourself a favor and check it out; it is a vast reservoir of insights that will accelerate your development as a photographer and one of the few “professional” blogs out there that isn’t constantly jamming ads or product links down your throat.

I’ve done a couple photography workshops over the years, including PhotoUno’s introductory “Digital Photography I” in NYC (12 hours over six Saturdays for ~$600) and Eric Kim’s advanced “Discover Your Unique Voice in Street Photography” in LA (~24 hours over three days for ~$500). While I found each to be extremely valuable in my evolution as a photographer and would recommend either to anybody in a heartbeat, something I realized is that one of the best parts about attending workshops is that they simply force you to go out and shoot, because for me, sustaining that drive and inspiration to practice photography in my regular life is one of the biggest challenges I face as a non-professional photographer.

Street Notes is the antidote to this all-too-common complaint. By providing a library of well-structured assignments designed by an experienced photographer/teacher, Street Notes essentially serves as an intermediate-to-advanced workshop-in-your-pocket for multiples less than what you’d pay for a live course. And, if used in conjunction with Eric’s blog, the only thing Street Notes does not provide versus the traditional workshop model is a live critique following assignment completion.

Don’t get me wrong, nothing can ever replace the experience of a really good workshop or face-to-face critique, but for $20 Street Notes is worth every penny. Just chuck it in your camera bag (its well-made and can stand up to a beating) and any time you’re in need of motivation shoot, just bust it out and complete one of the assignments (and let the social media machine do its thing if you’re really driven by peer review).” – Alexander Amy

Review of Street Notes by Keenan Rivals – Assisgntent #1: 5 Yes, 5 No

Purchase Street Notes

We priced Street Notes at 19.95 USD because Street Notes is printed in small, quality controlled batches in California. Street Notes is a labor of love that we have worked hard to edit, design, and make as part of “Haptic Press“. Each purchase will help to support open source information and keeping things free and open on the blog.

International Shipping & Non-Amazon Order Information:

  • Shipping will be via US Postal Service First Class 1-3 business days (USA) or 7-21 days (international).
  • There are two options for international shipping:
    1. First Class (7-21 days, no tracking): 3.95 USD
    2. Priority (5-12 days, tracking): 9.95 USD
  • Note: For international shipping, there might be a possibility of an import/customs tax that the recipient would need to pay on arrival. The customs requirement might require additional shipping time.

Join the community of photographers around the world with #streetnotes


Learn More About Haptic Industries

Of or relating to the sense of touch, in particular relating to the perception and manipulation of objects using the senses of touch and proprioception.

Haptic Industries makes photography tools, educational materials, and art prints. Haptic Industries believes in making products in small, carefully curated and quality controlled batches. Many of our products are handmade or digitally made by Cindy and Eric in make-shift workshops during our world travels. We hope to also build a community of learners and creatives through Haptic Industries.

Dear friends,

Cindy and I would love to share with you our creative project we have been working on for the past two years. We call it ‘Haptic Industries.’ Part labor of love, part creative exploration, Cindy and I have shared ideas and workshopped projects over many cups of coffee. Our dream for Haptic Industries is to provide artful, educational tools that empower and inspire others. Currently we have made three products–

  1. Street Notes: A Workbook & Assignments Journal for Street Photographers >>
  2. Henri by Eric Kim Neck and Wrist Straps >>
  3. “The City of Angels” Limited Edition Art Portfolio by Eric Kim >>


Photo Journal »

Photo Journal is your personal photography handbook to make more meaningful photos:

Henri by Eric Kim Camera Straps





Henri by Eric Kim offers small batch handmade, leather neck straps and wrist straps for cameras. The Henri strap is functional, fashionable, and has character. Made from durable 100% leather, this coffee-colored strap will age beautifully as you take it on your photographic adventures.

The Henri strap is light, comfortable, and ideal for smaller cameras (such as a Fujifilm, micro 4/3rds, film cameras, and rangefinders).

We hope the “Henri” strap will be a friend that can accompany you in all of your life’s journeys– and we hope this is the last strap you will ever need for your camera.

Henri Neck Strap

Henri Wrist Strap

Haptic Press Limited Edition Hand Printed Art Books

THE CITY OF ANGELS is a photography triptych that honors the rough edges and honest beauty of Los Angeles, California. While walking in Downtown Los Angeles, Eric Kim met multi-faceted strangers and sought to create portraits imbued with emotion, soul, and mystery. He hopes that these images remind others of the beauty of fleeting encounters and the serendipity of life.

Eric Kim made these photographs from 2011 to 2016 in Downtown Los Angeles.

Each art portfolio is unique, made of organic materials, and responsive to touch. The portfolio may be viewed as a tri-fold book or displayed on the wall from its button-string closure.

Follow exclusive behind-the-scenes updates from Haptic Industries on

Instagram: @hapticindustries

Facebook: hapticindustries