At 20:13 06/09/2003, Devon Young wrote:
What does this mean?? I'm thoroughly puzzled and I've been scouring the net for an answer. I've been assuming it means I'm not putting strings together correctly, but I can't figure out how to fix it. Here's the errors I'm getting, followed by the peice of code that the error is apparently in. I can't see what's wrong though. The code looks fine to me...


Where did you initialise @_ ?

hth
lee




my $counter = $_[0];
my $x = 1;
while ($counter < ($_[0]+11)) {
                # must escape double quotes, so there won't be JS errors.
        $artist[$counter][5] =~ s/"/\\"/g;  # line 120

print BLAH "band[$x][1] = \"$artist[$counter][0]\"\;\n";
print BLAH "band[$x][2] = \"$artist[$counter][1]\"\;\n";
print BLAH "band[$x][3] = \"$artist[$counter][2]\"\;\n";
print BLAH "band[$x][4] = \"$artist[$counter][3]\"\;\n";
print BLAH "band[$x][5] = \"magnet:?xt=urn:sha1:$artist[$counter][4]&amp;dn=$artist[$counter][10]&amp;xs=http://web1.freepeers.net/uri-res/N2R?urn:sha1:$artist[$counter][4]&amp;dn=$artist[$counter][10]&amp;xs=http://web2.freepeers.net/uri-res/N2R?urn:sha1:$artist[$counter][4]&amp;dn=$artist[$counter][10]\"\;\n";;
print BLAH "band[$x][6] = \"$artist[$counter][5]\"\;\n";
print BLAH "band[$x][7] = \"$artist[$counter][6]\"\;\n";
print BLAH "band[$x][8] = \"$artist[$counter][7]\"\;\n";
print BLAH "band[$x][9] = \"$artist[$counter][8]\"\;\n\n";
$counter++;
$x++;
}





Devon


_________________________________________________________________
Get 10MB of e-mail storage! Sign up for Hotmail Extra Storage.
http://join.msn.com/?PAGE=features/es

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to