[Gloucs] Anybody got a talk?

Simon Lewis simonlewis at bluebottle.com
Fri Sep 7 19:17:14 BST 2007


On 7 Sep 2007, at 09:46, Andrew Oakley wrote:
> I'd love a talk on how to build a very basic Hello
> World script that reads the string "Hello World" from a default
> /etc/helloworld.conf file.

#! /usr/bin/env perl
use warnings;
use strict;
my $fh;
open $fh, "< /etc/helloworld.conf" or die "Conf me baby one more time";
my $l = <$fh>;
chomp $l;
print "Read hello world!\n" if $l =~ /Hello World/;

:D



More information about the gloucs mailing list