'ls' question, splitting and files with spaces in their name...

Jim Rootham jim.rootham-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Sat May 22 15:52:57 UTC 2004


chop is indescriminate but chomp is not.  chop was the  original idiom
but it did not always Do The Right Thing.  chomp is designed to do that,
so even where there is no difference other programmers looking at
your code will see what they expect.

>   By the way, Jim also recommended 'chomp' over substitue. May I ask
>(both of your) reasoning on this? Being a new perl programmer I am very
>open to tips and suggestions. Thanks!!
>
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list