[ANNOUNCE] [REMINDER] Social this Thursday - PLUS! free beer

Ovid publiustemp-londonpm at yahoo.com
Wed Aug 1 11:42:48 BST 2007


--- "Susan Spence (sspence)" <sspence at cisco.com> wrote:

> 
> >From: london.pm-bounces at london.pm.org
> [mailto:london.pm-bounces at london.pm.org] On Behalf Of >Dave
> Hodgkinson
> >
> >Where I am now it's, RCS, VSS or death.
> 
> 
> This game must be played as follows: 
> 
> "Would you sleep with/use/do X or Y, and death is NOT an option".  

I don't know what you're talking about.

  #!/usr/bin/perl -l

  use strict;
  use warnings;

  BEGIN {
      *CORE::GLOBAL::require
        = sub (*) { die "Death *is* an option for @{[shift]}" };
      *::with = *CORE::GLOBAL::do = *CORE::GLOBAL::require;
  }

  foreach my $stuff ( "use Fun", "do 'something'", "with 'abandon'" ) {
      eval $stuff || print $@;
  }

Cheers,
Ovid

--
Buy the book  - http://www.oreilly.com/catalog/perlhks/
Perl and CGI  - http://users.easystreet.com/ovid/cgi_course/
Personal blog - http://publius-ovidius.livejournal.com/
Tech blog     - http://use.perl.org/~Ovid/journal/


More information about the london.pm mailing list