in reply to Re^2: Anyone know why I can't scrape this page?
in thread Anyone know why I can't scrape this page?

The '@' is followed by an '-' here, which is not allowed as valid identifier.

So it can't be an array. But to make sure I would use single quotes, too.

Update: striked that rubbish. See my answer.
  • Comment on Re^3: Anyone know why I can't scrape this page?

Replies are listed 'Best First'.
Re^4: Anyone know why I can't scrape this page?
by Lawliet (Curate) on Sep 07, 2008 at 01:03 UTC

    So Perl sees that there is an '@' followed by a '-' and removes that from the string?

    I'm so adjective, I verb nouns!

    chomp; # nom nom nom

      Ah, sorry! I misunderstood my test outputs. '@-' *is* interpolated as array!

      update: Damn, '@-' is predefined and can be found in perlvar; Since I have never used it I wasn't aware of it.