Ofer,
In my case, it's much easier to pick off the first entry than the list.
Why?
my $opts = @_ && ref $_[-1] eq 'HASH' ? pop : {};
my ($proj, @files) = @_;(from some code of mine; I have many functions defined like this)
-- Buddy
Ofer,
In my case, it's much easier to pick off the first entry than the list.
Why?
my $opts = @_ && ref $_[-1] eq 'HASH' ? pop : {};
my ($proj, @files) = @_;(from some code of mine; I have many functions defined like this)