![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
Re^3: Perl on cygwin (sh -c)by sgt (Deacon) |
on Nov 19, 2007 at 23:24 UTC ( #651801=note: print w/replies, xml ) | Need Help?? |
Yes, it does save one process besides being shorter. Still it could give wrong results if cd fails. A true shell hacker ;) would write system('cd ... && ls') (would even use 'ls -1' to avoid terminal issues). cheers --stephan
In Section
Seekers of Perl Wisdom
|
|