Spark Shen wrote: > Hi: Hello,
> I am a fresh bird on perl. :-) Could gurus help me to understand this > statement. > > *HTTP::Request->new(GET => $url);* > > How does perl parse the struct *GET => $url* here. (GET => $url) is a list of two elements. It could also be written as ('GET', $url) (The => operator is just a comma that also stringifies its left-hand operand.) John -- Perl isn't a toolbox, but a small machine shop where you can special-order certain sorts of tools at low cost and in short order. -- Larry Wall -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/