Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: using a subroutine

by bradcathey (Prior)
on Aug 09, 2004 at 00:31 UTC ( [id://381134]=note: print w/replies, xml ) Need Help??


in reply to using a subroutine

Nice work. And yes, use strict is a real life-saver.

I guess your next lesson will be passing arrays to and from subs—and the mandatory introduction to references, something that took me a while to get my head around. Checkout Randal L Schwartz's Learning Perl Objects, References & Modules or the Perl Cookbook. Good luck.


—Brad
"Don't ever take a fence down until you know the reason it was put up. " G. K. Chesterton

Replies are listed 'Best First'.
Re^2: using a subroutine
by xjlittle (Beadle) on Aug 10, 2004 at 00:42 UTC
    Yep, it will be. I've been using one of Schwartze's books on Learning Perl which gives a brief but solid introduction into many aspects of using Perl-with some good end of chapter test questions to help the learning process.

    Passing anything to a sub, much less out of it, still causes me a lot of study to understand what I need to do :-).

    I'll certainly look into the Learning Perl Objects...book.

    Thanks for the help!

    John

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-03-28 15:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found