in reply to How does this code work? (from "Perl is Unix")
run_fork and child are function calls declared with the & prototype (See perlsub: Prototypes). So, yes, they auto-subify their first argument (as though you had called run_fork(sub { ... })).
Good Day,
Dean
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How does this code work? (from "Perl is Unix")
by Anonymous Monk on Nov 06, 2009 at 15:18 UTC | |
by Aristotle (Chancellor) on Nov 07, 2009 at 03:21 UTC |