— Koncept email@example.com wrote:
I just wanted to follow up on some of the responses here:
- Suggestion to use gsub over sub. I assume that gsub is global?
Yes. gsub is global.
- what is the “!” responsible for doing? (Remember me = n00b )
! will modify the object in-place. i.e.
a = "HELLO"
will retain a as “hello”
– Thomas Adam
" We’ll just save up your sins, Thomas, and punish
you for all of them at once when you get better. The
experience will probably kill you. :)"
– Benjamin A. Okopnik (Linux Gazette Technical Editor)
BT Yahoo! Broadband - Free modem offer, sign up online today and save £80 http://btyahoo.yahoo.co.uk