writes:
> Real Perl programmers use real Perl functions and modules, and they
> resort to shell commands only when absolutely necessary (which is
> generally rare - I haven't used a raw shell command from Perl in three
> years).
Abigail will likely be around shortly, but in case I beat him to the
punch: Real Perl programmers use whatever bits of Perl are appropriate
to the task. Perl is a very nice glue language, and in many cases
it's clearer and simpler to perform a task using the OS's native tools
than Perl's. Perl also has a number of modules that are not always
the easiest way to do things, though they trend towards more
portability.
Case in point, and this is what convinced me Abigail was right,
File::Find. I personally find it infinitely more expressive to use
find(1) rather than File::Find, and since I work for a group whose
charter is to promote Linux and Open Source tools throughout the
company, I don't have to care about portability. There are other
examples; that's just the most obvious.
If your personal taste leans towards using only Perl, that's fine,
there's nothing wrong with that. But it is blatantly incorrect to
assert that "real Perl programmers" only use shell commands as a last
resort.
-=Eric