Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Meteoalarm - Weather warnings

by roboticus (Chancellor)
on Sep 23, 2017 at 18:10 UTC ( #1199967=note: print w/replies, xml ) Need Help??

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
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1199967]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2017-10-22 21:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (275 votes). Check out past polls.

    Notices?