Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: using a subroutine

by bradcathey (Prior)
on Aug 09, 2004 at 00:31 UTC ( #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.

"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

    Thanks for the help!


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2023-09-26 19:18 GMT
Find Nodes?
    Voting Booth?

    No recent polls found