Read the Hashed Part (####)
 --- Pravesh Biyani <[EMAIL PROTECTED]> wrote: > Hi
>  can i pass the file variable in the function..
> 
> for eg.
> 
> $lofile = " somefile";
> 
> and call the function
> 
## The way you have defined file_read
## you should pass the handle of the file
## by opening it here
>  file_read(lofile) ;
> 
> where function is :
> 
> 
> sub file_read
> {
> 
### The following is done for handles
## not for the scalars that you are doing
>   while (<$_[0]>)
> 
## rest will be ok 
> blah..blah..
> 
> }
> 
> 
> 
> Pravesh
> 
> 
> 
> 
> 
> -- 
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to