in reply to How to Remove Commas ?

You can use tr or the substitution operator (see perlretut) to remove the commas.

But it's way easier to get the list of files from glob or opendir, readdir, closedir, and the file size from -s or stat.

Replies are listed 'Best First'.
Re^2: How to Remove Commas ?
by Anonymous Monk on Mar 27, 2012 at 12:40 UTC

    But it's way easier to get the list of files ...

    And fail the course for not doing the homework