Help for this page

Select Code to Download


  1. or download this
        my %day = ( 'today' => 0, 'tomorrow' => 1 );
    
  2. or download this
    if ( !$passed_params{type} ) {
        $passed_params{type} = 0;
    ...
    else {
        $passed_params{type} = $type{ $passed_params{type} };
    }
    
  3. or download this
    $passed_params{type} = $type{ $passed_params{type} // 'all' }//0;
    
  4. or download this
    $passed_params{day} = _get_day($passed_params{day});
      . . .
    func(..., $passed_params{day}, ...);
    
  5. or download this
    #!/usr/bin/perl
    #
    ...
        Countrycode for a specific country
    
    =cut