Skip to content

Instantly share code, notes, and snippets.

@laiso
Created January 21, 2010 12:23
Show Gist options
  • Save laiso/282758 to your computer and use it in GitHub Desktop.
Save laiso/282758 to your computer and use it in GitHub Desktop.
#!/usr/bin/env perl
use strict;
my $someValue = "Hellow";
my $somevalue = "World";
sub helloWorld{
my $say = shift;
print "${say}\n";
}
sub helloworld{
my $say = shift;
print "${say}${say}\n";
}
helloWorld($someValue.$somevalue);#HellowWorld
helloworld($someValue.$somevalue);#HellowWorldHellowWorld
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment