Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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.
    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?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2020-02-26 04:27 GMT
Find Nodes?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?

    Results (113 votes). Check out past polls.