Help for this page

Select Code to Download


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