Help for this page

Select Code to Download


  1. or download this
    $first_num=10.0095;
    $last_num=72.0967;
    $mem_first="77xptj52";
    
  2. or download this
    use vars qw($first_num $last_num $mem_first);
    
    ...
    do "file1.pl";
    
    print( "$first_num, $last_num, $mem_first\n" );
    
  3. or download this
    %everything = (
      first_num => 10.0095,
      last_num => 72.0967,
      mem_first => "77xptj52",
    );
    
  4. or download this
    use vars qw( %everything );
    
    ...
      $everything{last_num},
      $everything{mem_first},
      ), "\n" );