| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Perl module P206
More Loops and Conditionals
Exercises, examples and other material relating to training module P206. This topic is presented on public courses Perl Programming, Perl bootcamp
"There's more than one way of doing it," says the cover of Programming Perl, the book co-written by Larry Wall, who wrote the language. He's right Ð there are usually many ways of doing the same thing. That's confusing for the newcomer, but great for the experienced practitioner. This module covers extra syntaxes for "if" and "while", and other loops and conditionals that use different keywords, or no keywords at all. This topic is presented on public courses Perl Programming, Perl bootcamp Tips and short articles on this subject Are you learning Perl? Some more examples for you!A pint of Black Rat, and a lazy barman Setting a safety net or fallback value in Perl switch and case, or given and when in Perl For loop - checked once, or evety time? Ruby v Perl comparison and contrast Question Mark - Colon operator (Perl and PHP) Saying NOT in Perl, PHP, Python, Lua ... Ruby, C, Java and more - getting out of loops for loop - how it works (Perl, PHP, Java, C, etc) Smart English Output - via PHP and Perl ? : operator Breaking a loop - Ruby and other languages The ternary operator in Python What - no switch or case statement? Perl - redo and last without a loop Examples from our training material
Pictures We project live demonstrations to help you learn
Customers range from one-man-bands to multinationals Background information
This module is available under an Open Training Notes License for free download from http://www.training-notes.co.uk.
Topics covered in this module
The variety that is Perl.
More conditional statements. If -- single statement rather than a block. Unless -- an inverted if statement. Conditional operators. The ? : operator. More loop statements. The until loop. Single statement while and until loops. The for loop. The do - while loop. Breaking a loop. Labels. The goto statement. Summary. Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page. Well House Consultants specialise in training courses in Python, Perl, PHP, and MySQL. We run Private Courses throughout the UK (and beyond for longer courses), and Public Courses at our training centre in Melksham, Wiltshire, England. It's surprisingly cost effective to come on our public courses - even if you live in a different country or continent to us. We have a technical library of over 700 books on the subjects on which we teach. These books are available for reference at our training centre. Also available is the Opentalk Forum for discussion of technical questions. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PH: +44 (0)1225 708225 • FAX: +44 (0)1225 344596 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||