in reply to Dying for a Good Japh
Set @INC to carefully constructed rubbish.
Convert @INC to print JAPH in big letters using environments set earlier. This seems to use ANSI/terminal control sequences.
Ask to load a module. This will fail so perl will print out @INC now holding the message.
A nice trick would be to leave the real @INC in place in some form so real modules would work but require "JAPH" would give message.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Dying for a Good Japh
by liverpole (Monsignor) on Jan 30, 2006 at 15:57 UTC | |
by tweetiepooh (Hermit) on Jan 31, 2006 at 10:41 UTC | |
by liverpole (Monsignor) on Jan 31, 2006 at 15:30 UTC | |
by tweetiepooh (Hermit) on Feb 02, 2006 at 10:35 UTC |