Skip to content

Instantly share code, notes, and snippets.

@abh
Created November 27, 2013 09:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abh/1c3d7fd5bd900da42e77 to your computer and use it in GitHub Desktop.
Save abh/1c3d7fd5bd900da42e77 to your computer and use it in GitHub Desktop.
package Foo;
use Mojo::Base -base;
has foozer => "beep";
package Bar;
Foo->foozer;
1;
@abh
Copy link
Author

abh commented Nov 27, 2013

This gives the error:

Can't use string ("Foo") as a HASH ref while "strict refs" in use at (eval 3) line 4.

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