Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perldiag Can't use subscript... #1920

Closed
p5pRT opened this issue May 1, 2000 · 3 comments
Closed

perldiag Can't use subscript... #1920

p5pRT opened this issue May 1, 2000 · 3 comments

Comments

@p5pRT
Copy link

p5pRT commented May 1, 2000

Migrated from rt.perl.org#3190 (status was 'resolved')

Searchable as RT3190$

@p5pRT
Copy link
Author

p5pRT commented May 1, 2000

From @pjscott

  Can't use subscript on %s
  (F) The compiler tried to interpret a bracketed
  expression as a subscript. But to the left of the
  brackets was an expression that didn't look like an
  array reference, or anything else subscriptable.

Wouldn't that be better off as "... array or hash reference, or ...",
since it's just as likely to be triggered by a spurious {} as a spurious [] ?

Obligatory mention of perl for the bugtron...

@p5pRT
Copy link
Author

p5pRT commented Nov 8, 2005

From @smpeters

[Peter@​PSDT.com - Mon May 01 12​:37​:20 2000]​:

    Can't use subscript on %s
        \(F\) The compiler tried to interpret a bracketed
        expression as a subscript\.  But to the left of the
        brackets was an expression that didn't look like an
        array reference\, or anything else subscriptable\.

Wouldn't that be better off as "... array or hash reference, or ...",
since it's just as likely to be triggered by a spurious {} as a
spurious [] ?

Obligatory mention of perl for the bugtron...

Sounds OK to me. I've updated pod/perldiag.pod with change #26040.

@p5pRT p5pRT closed this as completed Nov 8, 2005
@p5pRT
Copy link
Author

p5pRT commented Nov 8, 2005

@smpeters - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant