in reply to Re: Simple Switch statement
in thread Simple Switch statement

Your particular example won't work.

#!/usr/bin/perl -wl $_ = q~BOB;print "not good"~; eval "goto $_"; exit; print "hello"; __END__ hello

However, there is a risk if they use &&. Just being picky. :)

Replies are listed 'Best First'.
Re: Re: Re: Simple Switch statement
by Anonymous Monk on Sep 13, 2003 at 09:27 UTC
    Ok, consider this:
    1; BEGIN{ system('echo MUAHAHA!!') }
Re: Re: Re: Simple Switch statement
by Anonymous Monk on Sep 13, 2003 at 09:17 UTC
    indeed.

    But hackery crackery was left as an excercise for a reader

    :):):")