Skip to content

Instantly share code, notes, and snippets.

@gfx
Created December 13, 2011 00:57
Show Gist options
  • Save gfx/1469894 to your computer and use it in GitHub Desktop.
Save gfx/1469894 to your computer and use it in GitHub Desktop.
s///ee
->> perlbrew exec perl -e 'package Foo; s//"warn __PACKAGE__"/ee'
perl-5.10.1
==========
Foo at (eval 1) line 1.
perl-5.12.1
==========
Foo at (eval 1) line 1.
perl-5.12.2
==========
Foo at (eval 1) line 1.
perl-5.14.2
==========
Foo at (eval 1) line 1.
perl-5.6.2
==========
main at (eval 1) line 1.
perl-5.8.1
==========
main at (eval 1) line 1.
perl-5.8.9
==========
Foo at (eval 1) line 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment