I am new enough to perl to not even know how to find the right prototype ... I guessed that it takes 3 parameters, so $$$ made sense. I guess RTFM would help .. Thank you for info.
Any speed/functionality differences between your code and the eval version? Or just code cleanliness?
Comment on Re^2: Detecting lchown and falling back to chown
Primarily cleanliness (don't do more string evals than you absolutely have to); and given that you'll probably only run this chunk of code once per invocation anyway it's premature optimization to really worry whether 3 string evals is killing your performance (hint: it's probably not going to be even measurable).
The cake is a lie.
The cake is a lie.
The cake is a lie.