RE: help in while loop

2008-03-17 Thread Thomas Bätzler
[EMAIL PROTECTED] asked Can somebody please let me know the meaning of this line. while ($in) { if(/,/) {print before match: $`\t and after match: $'\n\n;}; $x=$'; $y=$`; mysubroutine($x,$y); } The loop iterates over a filehandle, setting $_ to each line in turn. If that line

Re: help in while loop

2008-03-17 Thread Telemachus
On Mar 17, 7:40 am, [EMAIL PROTECTED] (Irfan Sayed) wrote: Hi All, Can somebody please let me know the meaning of this line. while ($in) { if(/,/) {print before match: $`\t and after match: $'\n\n;}; $x=$'; $y=$`; mysubroutine($x,$y); } I know it is a while loop for the file handle

Re: help in while loop

2008-03-17 Thread telemachus07
On Mar 17, 7:40 am, [EMAIL PROTECTED] (Irfan Sayed) wrote: Hi All, Can somebody please let me know the meaning of this line. while ($in) { if(/,/) {print before match: $`\t and after match: $'\n\n;}; $x=$'; $y=$`; mysubroutine($x,$y); } I know it is a while loop for the file handle

RE: help in while loop

2008-03-17 Thread Thomas Bätzler
[EMAIL PROTECTED] asked: I have certain doubts. What's the meaning of if mysubroutine was defined with prototypes and you were trying to disable that sentence. Could you please elaborate that what's the meaning of this??? When declaring a subroutine, you can optionally also declare a