Help for this page

Select Code to Download


  1. or download this
    if (my @f = some_code())
    {
      # use @f here
    }
    # but not here
    
  2. or download this
    if ((my @f = some_code()) == 1 || (@f = some_other_code()) == 1)
    {
      # I only expect one item back.  Use $f[0] here.
    }
    
  3. or download this
    if ((my @f = some_code()) == 1 || (my @f = some_other_code()) == 1)
    
  4. or download this
    {
     my @f;
    ...
      #...
     }
    }