Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • That API is just screaming out for something like...

    my $server = PDF::Server->from_yaml( from_yaml_file( 'config.yaml' );
    • by jsmith (3335) on 2008.02.29 22:25 (#61417) Homepage Journal
      Something like this?

        my $class = RDF::Server -> build_from_config({
                interface => 'REST',
                protocol => 'HTTP',
                semantic => 'Atom',
                renderers => {
                        'rdf' => 'RDF',
                        'atom' => 'Atom',
                        'json' => 'JSON'
        my $server = $class -> new( %config );

      Passes tests -- it'll be in version 0.02.