Re: SCALAR ref

2010-04-13 Thread Shlomi Fish
On Tuesday 13 Apr 2010 12:29:37 Akhthar Parvez K wrote: > Got that, thanks Shlomi! However, can this be done by referencing $1 > directly with strict refs on? I definitely feel it can be done and would > be nice to know how! It cannot be done directly using ${$idx} as you've shown but as a wise ma

Re: SCALAR ref

2010-04-13 Thread Akhthar Parvez K
Got that, thanks Shlomi! However, can this be done by referencing $1 directly with strict refs on? I definitely feel it can be done and would be nice to know how! Regards, Akhthar Parvez K http://Tips.SysAdminGUIDE.COM UNIX is basically a simple operating system, but you have to be a genius to

Re: SCALAR ref

2010-04-13 Thread Shlomi Fish
On Tuesday 13 Apr 2010 11:40:44 Akhthar Parvez K wrote: > Hi all, > > I've a hash that contains some regex strings as keys and some numbers as > their values. The value for each keys will primarily be used to identify > which part to print for that particular rx. eg:- for the first rx string, > ${