[Omaha.pm] [olug] Bash TCP scripting

Jay Hannah jay at jays.net
Wed Jan 2 09:39:50 PST 2008


On Jan 1, 2008, at 3:49 PM, George Neill wrote:
> You could come pretty close to the amount of code written here if you
> were using C++ STL  (std::map and algorithms)

Glad to hear C++ doesn't have to be brain-dead.  :)

> Your PERLy implementation is -not- the same though ... you are  
> using a hash! not
> a linked list.  :)

Indeed, sir. My Perl goal was to produce the end result, regardless  
of methodology.

> The intent of this assignment, I presume (hope?), is to help you
> understand how much libraries (such as the STL) help ... when you get
> there in future classes.  :)

Ahh, I see. From the "we promise it will feel really good when you  
stop slamming your forehead with that 2x4 department." Classic.

> Happy New Year!

You too! So far so good. :)

j



More information about the Omaha-pm mailing list