local means it will create an array having the
variables $site and $search which would be in a local
scope to the subroutine where they are called. It has
been set as the default array which is represented as
@_ just like default scalar $_

Regards,
NKN

--- Amit Soni <[EMAIL PROTECTED]> wrote:
> could anyone tell me the maeaning and difference
> between these two lines ?
> 
> local($site,$search)=@_;
> local(*sites)=@_;
> 
> 
> what exactly is @_ ??
> BTW r perl queries allowed in linux maillist ? ;-)
> 
> 
>
--------------------------------------------------------------------
> The mailing list archives are available at 
> http://lists.linux-india.org/cgi-bin/linux-delhi

__________________________________________________
Do You Yahoo!?
Talk to your friends online and get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

--------------------------------------------------------------------
The mailing list archives are available at 
http://lists.linux-india.org/cgi-bin/linux-delhi

Reply via email to