Help for this page

Select Code to Download


  1. or download this
    use Data::Dump qw/ dd /;
    dd [ $hash{"Name"},$hash{"Age"},$hash{"Dept"} ];
    
  2. or download this
    #!/usr/bin/perl --
    use strict; use warnings;
    use Text::Table;
    ...
                                                                          
    +       
    Ro                        Sham                      Bo                
    +       
    Ro                        Sham                      Bo
    
  3. or download this
    $Employee{Name}       = $1 if /^The employee name is  : (\S+)$/mgsi;
    $Employee{Age}        = $1 if /^Age: (\d+) years$/mgsi;
    ...
        $tb->load ...;
        undef %Employee;
    }