Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Unlocking the Dark Mysteries of Acme::Bleach

by broquaint (Abbot)
on Jun 29, 2003 at 22:05 UTC ( #270030=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open 0 or print "Can't rebleach '$0'\n" and exit;
    
  2. or download this
    (my $shirt = join "", <0>) =~ s/.*^\s*use\s+Acme::Bleach\s*;\n//sm;
    
  3. or download this
    local $SIG{__WARN__} = \&dirty;
    
  4. or download this
    do { eval brighten $shirt; exit }
      unless dirty $shirt && not dress $shirt;
    
  5. or download this
    sub brighten {
      local $_ = pop;
    ...
      tr/ \t/01/;
      pack "b*", $_
    }
    
  6. or download this
    open 0, ">$0" or print "Cannot bleach '$0'\n" and exit;
    
  7. or download this
    print {0} "use Acme::Bleach;\n", whiten $shirt and exit;
    
  8. or download this
    sub whiten {
      local $_ = unpack "b*", pop;
    ...
      s/(.{9})/$1\n/g;
      $tie.$_
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://270030]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2015-07-29 05:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls