On Dec 19, 2003, at 8:30 PM, christopher j bottaro wrote:


thanks for the reply. i think i'm understanding it a little better now. but
i haven't really got a firm grasp on OO perl, so that example is a bit over
my head still.

Not a problem - save it for some time later. As I said, pick up <http://www.oreilly.com/catalog/lrnperlorm/>

I plopped the funky script into play for the basic
evolution most coders will go through - first
they need to get the four basics

        a. variables
        b. conditionals
        c. iteratives
        d. functions

So I tend to write illustrative skripts in the
way silly form of

        #!/usr/bin/perl
        use strict;
        use warnings;

        my @args = qw/bob ted carol alice/;
        my $retval = some_sub_here(@args);

        sub some_sub_here
        {
                my (...) = @_;
                ....
                $return_thing;
        }

This way they are one step closer to the

so how do I do my first perl module...

Or some variant on it, because they notice that
a given set of subs can be re-used in N-scripts
and they don't want to have to just cut and paste them.

So to simplify that process, I stepped up and cut a
template where we have most of what would be in the
Foo::Bar module as basic 'template' - and can demonstrate
simple ideas from inside the 'script' without actually
needing the full on external perl module.

[..]
www.vbulletin.com

ah, so that's what folks are calling that...


I use the strategy of having rules that will park
various mailing lists in different mail folders.
THen as time allows I pick out the ones I find
interesting..

ciao
drieux

---


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to