Example Presentation

From STLPM

Jump to: navigation, search

[edit] Example

This is just to show you how to use syntax highlighting on the wiki. It's simple!

Just wrap your source in <source lang="perl"> ... </source> and it will be higlighted as you see below.


#!/usr/bin/perl
 
use warnings;
use strict;
 
while (my $foo = <STDIN>) {
   chomp $foo;
   print "I like $foo!";
}
Personal tools