in reply to forcing list-context

Assign to an emtpy list:
my $entries =()= readdir $dh;

Replies are listed 'Best First'.
Re^2: forcing list-context
by pvaldes (Chaplain) on Jan 23, 2012 at 15:09 UTC
    ... minus 2, unless you want to sum . and ..
Re^2: forcing list-context
by educated_foo (Vicar) on Jan 23, 2012 at 15:32 UTC
    AKA the "goatse operator" -- google it!
      goatse ... google it!

      NoNoNoNoNoNoNoTenThousandTimesNo!