Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: Compare Inventory to Database and Vice-Versa

by Hellhound4 (Novice)
on Mar 22, 2012 at 02:02 UTC ( #960908=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Compare Inventory to Database and Vice-Versa
in thread Compare Inventory to Database and Vice-Versa

I agree. I'm working on some right now. Can you point me toward some good references for syntax of loops. Hashes seem to be covered well in the tutorial section. Also I am new here so should I add a reply with code or update my original post? And how do I flag?


Comment on Re^4: Compare Inventory to Database and Vice-Versa
Replies are listed 'Best First'.
Re^5: Compare Inventory to Database and Vice-Versa
by GrandFather (Sage) on Mar 22, 2012 at 02:47 UTC

    I'd be inclined to post a new question with code and questions focused on that code.

    perlsyn is the place to look for control structure syntax. Don't be seduced into using C++'s for loop, use Perl's for my $element (@list) loop instead. 'next' and 'last' are 'continue' and 'break', but look at 'redo' too.

    Pay special attention to the Perl operators. Mostly they look familiar to a C++ user, but there are a few extra that are worth knowing about and some of them do special magic of a mind reading nature.

    If you have time take a look at map and grep. In any case you must at least skim perlretut. If you plan to stick with Perl for the long haul get a copy of the "Perl Pocket Reference". I wore my first copy out!

    True laziness is hard work

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2015-07-30 04:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls