- or download this
#!/usr/bin/perl -w
use strict;
...
smokestack => 'dirty',
lights => 'bright eyes',
);
- or download this
my %bar;
@bar{ qw/camshaft gearbox1 the_drivetrain _other/ } = '';
- or download this
my %map_foo_to_bar = (
camshaft => 'camshaft',
...
smokestack => 'my_smokestack',
junkyard => '_junkyard',
);
- or download this
sub schlep($$$)
{
...
use Data::Dumper;
print Dumper \%bar;