Re: SimpleList->new_from_treeview



On Wed, 2003-10-01 at 19:03, A. Pagaltzis wrote:
I'm not sure whether he's talking about passing undef or passing
nothing at all. That's two different conditions there.

not really in perl, when you're using shift anyway.

sub foo
{
     my $bar = shift;
}

foo ();
foo (undef);

in either case bar would be undef. that's the way the code is working in
simplelist right now. 

-rm




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]