Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: How to Remove Commas ?

by allendevans (Initiate)
on Mar 27, 2012 at 13:05 UTC ( #961918=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # while not eof
    # =============
    ...
    # remove commas from $filesize string
    # ===================================
    $filesize =~ s/,//;
    
  2. or download this
    1572,727,014    IN11-135.E01
    1223    IN11-135.E01.txt
    ...
    1556,456,660    IN11-135.E12
    
    Total Files: 13  Avg Size: 0
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://961918]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2023-02-02 01:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (15 votes). Check out past polls.

    Notices?