English     Español
[Main Index] -> [Programming] -> [Programming Languages] -> [Perl Programming] -> [CPAN (Perl) Modules] -> [Perl Core Modules] -> [Acme] [Directory] [Forums]
 Acme::Handwave  

Search

   options
Learning Perl
Other Perl Programming books to buy at Amazon. .

Acme::Handwave - Get the result you want without tedious algorithms or


NAME

Acme::Handwave - Get the result you want without tedious algorithms or real programming


SYNOPSIS

  use Acme::Handwave;
  my %foo = (bar =>  143,
             baz =>  156,
             quxx => 543);
  my %result = handwave(data =>     \%foo,
                        expected => {bar => 333,
                                     baz => 332,
                                     quxx => 331});
  my $string = "this string needs transmogrifying";
  $string = handwave(data => $string,
                     expected => "this string is transmogrified");
  my @foobar = qw(a  b  c  d  e  f g);
  my @barfoo = handwave(data => \@foobar,
                        expected => ['h', 'i', 'j']);


DESCRIPTION

Spent hours trying to tweak that algorithm, but never quite getting the result you're expecting? Now you can bypass all of that hassle with new, whiter-than-white Acme::Handwave.

Just give it the data structure you're trying to manipulate, and the result you've been expecting.

A little handwaving magic later, and presto! The result you were looking for.

EXPORT

handwave()


METHODS

handwave
handwave takes 2 arguments - the piece of data or datastructure you want to operate on, and the piece of data or datastructure you were expecting to get in return. No more messy hand-rolled data munging routines. Just handwave(). The parameters you pass to it should be named as follows:
data
The datastructure/object/whatever you're operating on. You need to pass arrays or hashes as references, because I'm lazy.

expected
What you want to see after the magic handwaving is complete


SEE ALSO

The rest of the Acme:: namespace

Stuff by 'Simon Batistoni' - I'm in the process of changing my name right now.


AUTHOR

Simon Kent, <simon@hitherto.net>


COPYRIGHT AND LICENSE

Copyright 2002 by Simon Kent

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

(Acme-Handwave-0.01.1.tar.gz)


Save 10% on high-quality Crucial RAM. Order online at Crucial's factory-direct Web site. Crucial Technology, The Memory Experts.
   

[New Links]
[Add Url] [About]

© Copyright Nicholas Reynolds 2005