Language::Farnsworth::Output - Wrapper class for making output simpler



NAME

Language::Farnsworth::Output - Wrapper class for making output simpler


DESCRIPTION

This class is just a wrapper for some code to convert the data into a format more usable for perl. Eventually all the code will be spun off into the Language::Farnsworth::Value subclasses so that the code can be used for serialization and loading.


SYNOPSIS

  use Language::Farnsworth;
  
  my $hubert = Language::Farnsworth->new();
  
  my $result = $hubert->runString("10 km -> miles"); # $result here is an object of Language::Farnsworth::Output 
  
  my $result = $hubert->runFile("file.frns");
  
  print $result;


METHODS

This has only one method that a user should be aware of, tostring; you can call this directly on the object, e.g. $result->tostring()


AUTHOR

Ryan Voots <simcop@cpan.org>


COPYRIGHT AND LICENSE

Copyright (C) 2010 by Ryan Voots

This library is free software; It is licensed exclusively under the Artistic License version 2.0 only.

 Language::Farnsworth::Output - Wrapper class for making output simpler