Help for this page

Select Code to Download


  1. or download this
    @a = ();
    @b = qw (one two three);
    ...
    
    @d = @a || @c; #gives ('four', 'five') - OK
    @d = @b || @c; #gives ('3') - yikes!
    
  2. or download this
    @list = @a;
    @list = @default unless @list;