Re: Fail to match mixed quote pattern

2014-03-14 Thread Alex Chiang
Lovely, it works. I didn't know how to describe this, now I knew there is a global mode XD Thanks. --- Regards ! Alex Chiang

Fail to match mixed quote pattern

2014-03-14 Thread Alex Chiang
leaving 'let us go' unmatched. I don't know how to describe this problem, Can anyone help me with this ? Thanks in advance. --- Regards ! Alex Chiang

Re: Search one character against one string

2014-03-13 Thread Alex Chiang
Thanks for your reply. I know the built-in index function, but I just can't figure out why it gives me the answer I don't expect :D --- Regards ! Alex Chiang

Re: Build Perl keyword hash

2014-03-13 Thread Alex Chiang
Yes. Thanks for your help. How do you copy and paste from browser ? When I tried this, all I got is hyperlink and metadata. --- Regards ! Alex Chiang

Build Perl keyword hash

2014-03-13 Thread Alex Chiang
nto list, then creating hash for parsing. --- Regards ! Alex Chiang

Re: Search one character against one string

2014-03-13 Thread Alex Chiang
Thanks all, and thanks Nathan for your detailed explanation. Now I know the list got flattened before passing into subroutine. Cheers. --- Regards ! Alex Chiang

Search one character against one string

2014-03-12 Thread Alex Chiang
e times, meaning I've to convert string into array every time, pain in the ass... --- Regards ! Alex Chiang

Re: Delete key-value pair in perl

2014-03-09 Thread Alex Chiang
Hi Shlomi, Thanks for reminding this beginner's trap. --- Regards ! Alex Chiang

Delete key-value pair in perl

2014-03-08 Thread Alex Chiang
the original dict. However, when I try to remove the if condition, simply put delete $employ_list{"e10220"} there, it works. I can't figure out why, also, the line #49 doesn't work either until I print the dict outside the while loop, I would expect the print "after" should be empty. --- Regards ! Alex Chiang --- Regards ! Alex Chiang