Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
Python, Lua, Tcl, C and C++ training - public course schedule [here]
Private courses on your site - see [here]
Please ask about maintenance training for Perl, PHP, Java, Ruby, MySQL and Linux / Tomcat systems
 
Hello World - in Perl 6

Perl 6 is both functional and object oriented - continuing its classic eclecticism from earlier versions of Perl. Which is great once you know it, but a bit frightening when you first come to learn it!

Programming courses start with a "hello world" example - no matter what langauge is being taught - as that provides the tutor and delegates with the shortest way from entering a program, coverting it to something runnable, running it, and seeing the results.

"Hello World" in Perl 6 is ... [here].

You enter the source code into a plain text file (use your favourite text editor) ... here's what the source code may look like - use either line as I've shown 2 ways to do the same thing:

  say "Hello Perl 6 world";
  "Perl 6 works in both a functional and an OO way".say;


You can then run it using "perl6" followed by the file name you chose

  WomanWithCat:perl6 grahamellis$ perl6 hello.pl6
  Hello Perl 6 world
  Perl 6 works in both a functional and an OO way
  WomanWithCat:perl6 grahamellis$


If you prefer on a Linux / Unix system add a #! line and change file permissions.

We can offer you Perl 6 training, starting March 2016 ... at 3 levels. If you're a newcomer to programming, it's a five day "Learning to program in Perl 6" course. If you're an experienced programmer in another language, I'm going to recommend 4 days "Perl 6 programming". If you're already experienced in a previous version of Perl, please get in touch - there will be no "one course suits all" here; we can tailor individually to your needs - and indeed do so from as early as February.
(written 2016-01-02)

 
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
P600 - Perl 6
  [4620] Perl 6 - a Practical Extraction and Reporting example! - (2016-01-11)
  [4611] Hungarian, Camel, Snake and Kebab - variable naming conventions - (2016-01-03)
  [4610] Sorting by key or by comparator - Perl 6 - (2016-01-03)
  [4609] Mapping an array / list without a loop - how to do it in Perl 6 - (2016-01-03)
  [4608] Introspecion in Perl 6 - (2016-01-02)
  [4607] Classes and object - first steps in Perl 6 - (2016-01-02)
  [4606] Using Perl 6 to analyse and report on data - (2016-01-02)
  [4604] Perl - version 6 - official version launched at Christmas - (2016-01-02)
  [2816] Intelligent Matching in Perl - (2010-06-18)
  [582] DWIM and AWWO - (2006-01-30)


Back to
Perl - version 6 - official version launched at Christmas
Previous and next
or
Horse's mouth home
Forward to
Using Perl 6 to analyse and report on data
Some other Articles
Hello World - in Perl 6
Happy New Year. Our customers are our ambassadors
Training course and hotel room prices - 2016
Management view - TransWilts and transport at the end of 2015
A big change in August
4750 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2017: 404 The Spa • Melksham, Wiltshire • United Kingdom • SN12 6QL
PH: 01144 1225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/mouth/4605_Hel ... erl-6.html • PAGE BUILT: Sat May 27 16:49:10 2017 • BUILD SYSTEM: WomanWithCat