in reply to multi-push
I'm getting more and more used to having mapcar:
- tye (but my friends call me "Tye")mapcar { push @{shift @_}, @_ } [\@user,\@pw,\@uid,\@gid], map { [ split /:/, $_ ] } <PASSWD>; # Or, if you don't have mapcar prototyped at compile time: mapcar( sub { push @{shift @_}, @_ }, [\@user,\@pw,\@uid,\@gid], map { [ split /:/, $_ ] } <PASSWD> );
|
|---|