On Thu, 2006-06-04 at 10:42 -0500, Michael Goldshteyn wrote: > That is, why does the output differ between: > > perl -e "print join(\"\n\",@{[`dir`]});" > > and > > dir | perl -pne ""
Different environments. Use File::Find instead. See `perldoc File::Find` for details. -- __END__ Just my 0.00000002 million dollars worth, --- Shawn "For the things we have to learn before we can do them, we learn by doing them." Aristotle * Perl tutorials at http://perlmonks.org/?node=Tutorials * A searchable perldoc is at http://perldoc.perl.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>