- To: Anthony Rumble <smilie@xxxxxxxxxxxxxxxx>, slug@xxxxxxxxxxx
- Subject: Re: [SLUG] Stupid Regex questions..
- From: Alexander Else <coram@xxxxxxxxxxxxxxx>
- Date: Mon Jul 10 20:01:21 2000
What are you trying to achieve?
[coram@deimos coram]$ perl
while(<>) {
$_=~s/\$ord\{/\$ord\-\>\{/g;
print;
}
as input: $ord{ blah
returns: $ord->{ blah
At 07:07 PM 7/10/00 +1000, Anthony Rumble wrote:
s/\$ord\{/\$ord\-\>\{/g
Why doesn't that work?
---
Anthony Rumble
LinuxHelp http://www.LinuxHelp.com.au Phone: 0500 500 368
Direct 02-9712-1799 Mobile 0412-955-042 Fax 02-9712-3977
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug
--
Alexander Else
http://cyberchrist.org