Amit Soni wrote:
>
> arguments = parameters
> right ?
>
right...unlike other languages ... in perl you don't have fixed formal
parameters. you receive all the parameters in an array @_ . You extract
the variables you need by putting a scalar(in a list?) context to this
array. e.g.
($a,$b,$c)= @_
this puts the first three arguments to the function in these variables
$a,$b,$c
BTW, i am also new to perl. But I feel that contrary to what most people
would like think, Perl is a good Shell scripting language. And since
shell scripting is very much a part of this discussion, I think ppl can
tolerate discussions on perl from time to time in context with the rest
of the Linux stuff.
BTW, folks, i still haven't been able to make a setuid root perl
script...is it true that Linux doesn't allow *any* script file to be
setuid root???
- Sandip
--
Sandip Bhattacharya
[EMAIL PROTECTED]
DSF Internet Services Pvt. Ltd.
ICQ: 38380743
----------------------
--------------------------------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/linux-delhi