| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package Acme::LSD; | 
| 2 | 1 |  |  | 1 |  | 728 | use 5.008001; | 
|  | 1 |  |  |  |  | 3 |  | 
| 3 | 1 |  |  | 1 |  | 5 | use strict; | 
|  | 1 |  |  |  |  | 1 |  | 
|  | 1 |  |  |  |  | 20 |  | 
| 4 | 1 |  |  | 1 |  | 4 | use warnings; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 38 |  | 
| 5 |  |  |  |  |  |  |  | 
| 6 |  |  |  |  |  |  | our $VERSION = "0.04"; | 
| 7 |  |  |  |  |  |  |  | 
| 8 | 1 |  |  | 1 |  | 6 | use base qw; | 
|  | 1 |  |  |  |  | 2 |  | 
|  | 1 |  |  |  |  | 523 |  | 
| 9 | 1 |  |  | 1 |  | 2407 | use Symbol qw; | 
|  | 1 |  |  |  |  | 786 |  | 
|  | 1 |  |  |  |  | 300 |  | 
| 10 |  |  |  |  |  |  | my $TRUE_STDOUT; | 
| 11 |  |  |  |  |  |  |  | 
| 12 | 1 |  |  | 1 |  | 4 | sub TIEHANDLE { return bless geniosym, __PACKAGE__ } | 
| 13 |  |  |  |  |  |  |  | 
| 14 |  |  |  |  |  |  | sub PRINT { | 
| 15 | 0 |  |  | 0 |  |  | shift; | 
| 16 | 0 |  |  |  |  |  | local $\ = undef; | 
| 17 |  |  |  |  |  |  |  | 
| 18 | 0 |  |  |  |  |  | foreach my $str (@_) { | 
| 19 | 0 |  |  |  |  |  | my $copy = $str; | 
| 20 | 0 |  |  |  |  |  | $copy =~ s/[^\w']/ /g;   # convert all non-words into spaces | 
| 21 | 0 |  |  |  |  |  | $copy =~ s/ +/ /g;       # convert all multiple spaces into single space | 
| 22 | 0 |  |  |  |  |  | $copy =~ tr/A-Z/a-z/;    # convert all words to lowercase | 
| 23 | 0 |  |  |  |  |  | foreach my $char (split(//, $copy)) { | 
| 24 | 0 |  |  |  |  |  | my $r = int(rand(6)) + 31; | 
| 25 | 0 |  |  |  |  |  | my $s = int(rand(8)); | 
| 26 | 0 |  |  |  |  |  | print $TRUE_STDOUT "\033[" . "$s;$r" . "m$char\033[0m"; | 
| 27 |  |  |  |  |  |  | } | 
| 28 |  |  |  |  |  |  | } | 
| 29 |  |  |  |  |  |  | } | 
| 30 |  |  |  |  |  |  |  | 
| 31 |  |  |  |  |  |  | open($TRUE_STDOUT, '>', '/dev/stdout'); | 
| 32 |  |  |  |  |  |  | tie *STDOUT, __PACKAGE__, (*STDOUT); | 
| 33 |  |  |  |  |  |  |  | 
| 34 |  |  |  |  |  |  | 1; | 
| 35 |  |  |  |  |  |  | __END__ |