http://qs321.pair.com?node_id=646536


in reply to problems with global $1

Perhaps your regular expression is not matching anything, leaving $1 uninitialized?

non-Perl: Andy Ford