Re: Syntax error

2002-05-16 Thread Jaishree Rangaraj
Hello All: Can anybody please tell me if this syntax is corect. I am getting syntax error in this block. foreach $sorted_field (@sorted_fields) { if ($Config{'print_blank_fields'} || $Form{$sorted_field}) { $_=$sorted_field; $field=m/

Re:Question in perl syntax

2002-05-15 Thread Jaishree Rangaraj
Hi Now, I want to check if string or charcater is in the range. Can u please suggest me something Thanks - Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience

beginner, please help

2002-05-14 Thread Jaishree Rangaraj
Hi I have to check if a literal is within a partiocular range say [1..10]. How do I do this. Can I use "eq" operator to check if it is in a particular range for eg. if ($s_field eq [1..10]) { stmt 1; or how do i use this. Please help. please don't laugh at my program. } Thanks, jessie

Re:Question in perl syntax

2002-05-14 Thread Jaishree Rangaraj
Hello I have a value say "$s_field". I have to see if this matches with in the range 1-10 can I use eq operator for this. I am a beginner , please help me to do this. Thanks Jessie - Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience