in reply to Re: Need explanation: what \$_ and ${} do
in thread Need explanation: what \$_ and ${} do
Small side note: yes, you shouldn't use regexes to parse XML. However, in a case such as $x = '<act aid = "s">';, where it's not valid XML, you must clean it up before you can use a real XML parser to do anything with it.
|
|---|