Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. samgardner

    Passing Arugments into Perl Script!?

    Note: You can also get the arguments out using the <> operator. From &quot;Learning Perl&quot;: Another way to read input is with the diamond operator: <>. This works like <STDIN> in that it returns a single line in a scalar context (undef if all the lines have been read) or all remaining...
  2. samgardner

    Perl skipping a print call? Sub-nested lexicals?

    Never mind, figured out that XP makes you hit the return key after Ctrl-Z
  3. samgardner

    Perl skipping a print call? Sub-nested lexicals?

    Thanks, at least I know I'm not going nuts. . . well, maybe I know that. . . btw, I've also been having a smaller issue with XP not correctly recognizing the Ctrl-Z as the end-of-input -- it's printing out ^Z. It seems to do this sporadically; sometimes if I press Ctrl-C afterwards it proceeds...
  4. samgardner

    Perl skipping a print call? Sub-nested lexicals?

    I'm going through the exercises in Llama, and have come on an odd phenomenon. The code seems to be completely skipping the first print call. However the first function call to &total succeeds (I know because my previous code hadn't set the value of $total to zero at the start of the sub, and...

Part and Inventory Search

Back
Top