adam_blackice has asked for the wisdom of the Perl Monks concerning the following question:

hello all i would thank all the people here in this great forum which is very very helpful nnot am starting with learning perl third edition and i like perl tooo much , so i cannot understand the part of subroutine from the book if there is atutorial or something enable me to understand this part i will be thankful for that i used the power search and i cannot get any help with
  • Comment on References for understanding subroutines; spelling and phrasing

Replies are listed 'Best First'.
Re: References for understanding subroutines; spelling and phrasing
by Khen1950fx (Canon) on Mar 13, 2007 at 23:32 UTC
Re: References for understanding subroutines; spelling and phrasing
by merlyn (Sage) on Mar 14, 2007 at 00:59 UTC
    The book presumes (and strongly suggests) that you understand arrays and subroutines from some other language. What other languages have you studied and are fluent in?
Re: References for understanding subroutines; spelling and phrasing
by jonsmith1982 (Beadle) on Mar 14, 2007 at 02:10 UTC
    These became very useful to me while i was just getting used to perl, i found it very helpful learning from others mistakes.

    http://www.milw0rm.com/papers/88
    http://www.milw0rm.com/papers/89
    http://www.milw0rm.com/papers/90

    after reading through these i think you will be comfortable with using subroutines and much more....
    print hello("world")."\n"; exit(0); sub hello { my ($passed_on_var) = @_; return('hello '.$passed_on_var); }
    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: References for understanding subroutines; spelling and phrasing
by Jenda (Abbot) on Mar 14, 2007 at 16:38 UTC

    Erm. Assuming you use a US keyboard, there is one interesting key on it. To the right of the letter M there is one that produces a comma and next to that one there's an even more interesting key that produces dots. Sometimes called "fullstops". Please try to press that key at the end of each sentence, followed by one or two spaces (that's the big button at the very bottom of your keyboard) and then before you press the key to produce the first letter of the following sentence, press the one marked "Shift" and hold it for a bit and only leave it after that letter was typed. It will make your posts much easier to read.

      thanx for all whose writing and help me and iam gonna to use your instructions and thanx again