Ntav has asked for the wisdom of the Perl Monks concerning the following question:
I've tried what seem like all the obvious syntactic booboos, can someone please explain whats going on?my $reqs = [ HTTP::Request->new('GET', "http://www.sun.com"), HTTP::Request->new('GET', "http://www.perlmonks.org") ]; #the above list of requests is not equivalent to: @urls = ("www.sun.com","www.perlmonks.org"); my $reqs = [ HTTP::Request->new('GET', $urls[0]), HTTP::Request->new('GET', $urls[1]) ];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: more string / list confusion
by wog (Curate) on Sep 13, 2001 at 03:53 UTC | |
|
Re: more string / list confusion
by suaveant (Parson) on Sep 13, 2001 at 05:23 UTC |