Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Programming every day

by chromatic (Archbishop)
on Mar 25, 2002 at 04:22 UTC ( #154019=note: print w/replies, xml ) Need Help??


in reply to Programming every day

Read questions here or on clpm or on another site and work out the answers for yourself. Succumb to the dumb questions like, "Can I replace everything in a typeglob?" or "Can I tie a symbol table?" Then write code to see if you can answer the question yourself. Put code in one window and run it in the other, or get a good editor that handles it for you. Take advantage of the short, nearly-transparent compile cycle and make quick changes and see what happens.

If you end up with a directory with hundreds of little files, you're on the right track.

Update: I didn't say to *post* your solutions on Usenet. :)

Replies are listed 'Best First'.
Re: Re: Programming every day
by ellem (Hermit) on Mar 25, 2002 at 05:04 UTC
    Well at least this is something I alreadu do. CLPMisc is one rough room though! I once tried to explain how to write a clear regex but used tr/// as the example... holy cow you'd think I drowned puppies on the internet or something.
    --
    ellem@optonline.net
    There's more than one way to do it, but only some of them actually work.
Re: Re: Programming every day
by belg4mit (Prior) on Mar 25, 2002 at 05:14 UTC
    Here here! And in the spirit of this, and reinventing the wheel, try reinventing the language. Always a fun one is to implement your own hashes. Or one that was just tossed out sort, though I must admit that one would take me awhile. Also don't restrict yourself to perl wheels, reinventing functionality available in modules, is often done and you'll probably do enough of it as it is. Instead try implementing standard UN*X commands, like Perl Power Tools.

    --
    perl -pe "s/\b;([st])/'\1/mg"

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://154019]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2019-08-21 00:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?