Help for this page

Select Code to Download


  1. or download this
    @x=(1,2,3,4,5,6)
    Array::Reform->reform(\@x,2);
    
  2. or download this
    [ [ 1 , 2]  , [ 3 , 4 ] , [ 5, 6] ]
    
  3. or download this
    if (nonzero ($value,$value2,$value3)) { ; } if (zero
        ($value,$value2,$value3)) { ; }     # do something when pagemode i
    +s one in the list. 
    ...
    if (any(map { $PAGEMODE
        eq $_ } ('CONFIRM_OFFER', 'VIEW_DETAILS', 'Purchase Item', 'Confir
    +m
        Counter Offer')) { handle_these_pagemodes() }
    
  4. or download this
    use Date::Ordinal;
           
    ...
            $arryref = all_day_ordinations         $arryref = all_hour_ord
    +inations
            $arryref = all_minute_ordinations         $hashref = ordinatio
    +n_month_pair # {'01' => 'January', ... }
            @day     = days
    
  5. or download this
    $file_pointer = $cgi->param('file_tag');
    $file_upload  = HTTP::File::upload($file_pointer,'/target-dir');
    
  6. or download this
      use Parse::FixedDelimiter;
           
    ...
            }         # yields $moms_phone{area_code} == 803
            #        $moms_phone{exchange}  == 781
            #        $moms_phone{number}    == 4191
    
  7. or download this
            use Parse::FixedLength;
           
    ...
            }         # yields $moms_phone{area_code} == 803
            #        $moms_phone{exchange}  == 781
            #        $moms_phone{number}    == 4191