--- Panda-X <[EMAIL PROTECTED]> wrote:
> I have a script like this :
>
> sub This { print @_ }
>
> This ( -x => 100 ) ; # prints -x100
> This ( x => 100 ) ; # prints x100
>
> ##
> It seems that's something just as is.
> However, I saw many packages would like to use : -option => value
> So what's the point for this style ? Is there any specific reason for
> that ?
>
Don't think there are real difference between these two style.
But '-key' is maybe a private key in a package,which means people
shouldn't access this key from out of the package.
National Bingo Night. Play along for the chance to win $10,000 every week.
Download your gamecard now at Yahoo!7 TV.
http://au.blogs.yahoo.com/national-bingo-night/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/