Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

socialtext::wikiobject::factory(3pm) [debian man page]

Socialtext::WikiObject::Factory(3pm)			User Contributed Perl Documentation		      Socialtext::WikiObject::Factory(3pm)

NAME
Socialtext::WikiObject::Factory - Create an approprate WikiObject from Magic Tags SYNOPSIS
# Set a magic tag to define WikiObject subclass $rester->put_page($page_name, $page_text); $rester->put_pagetag($page_name, '.wikiobject=YAML'); # Use the factory to create the appropriate class my $wo = Socialtext::WikiObject::Factory->new( rester => $rester, page => $page_name, ); isa_ok $wo, 'Socialtext::WikiObject::YAML'; DESCRIPTION
Socialtext::WikiObject::Factory reads magic tags on a page, and then creates a WikiObject of the appropriate class, as defined in the magic tag. FUNCTIONS
new( %opts ) Create a new wiki object. Options: rester Users must provide a Socialtext::Resting object setup to use the desired workspace and server. page The page to load. Mandatory. AUTHOR
Luke Closs, "<luke.closs at socialtext.com>" BUGS
Please report any bugs or feature requests to <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Socialtext-Resting-Utils>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. COPYRIGHT &; LICENSE Copyright 2007 Luke Closs, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2009-01-09 Socialtext::WikiObject::Factory(3pm)

Check Out this Related Man Page

Socialtext::Resting::LocalCopy(3pm)			User Contributed Perl Documentation		       Socialtext::Resting::LocalCopy(3pm)

NAME
Socialtext::Resting::LocalCopy - Maintain a copy on disk of a workspace SYNOPSIS
Socialtext::Resting::LocalCopy allows one to copy a workspace into files on the local disk, and to update a workspace from files on disk. METHODS
new Create a new LocalCopy object. Requires a "rester" parameter, which should be a Socialtext::Rester-like object. pull Reads a workspace and pulls all of the pages into files in the specified directory. Options are passed in as a list of named options: dir - The directory the files should be saved to. tag - an optional tag. If specified, only tagged files will be pulled. push Reads a directory and pushes all the files in that directory up to the specified workspace. Options are passed in as a list of named options: dir - The directory the files should be saved to. tag - an optional tag. If specified, only tagged files will be pushed. Note - tag is not yet implemented. BUGS
Attachments are not yet supported. Push by tag is not yet supported. AUTHOR
Luke Closs, "<luke.closs at socialtext.com>" COPYRIGHT &; LICENSE Copyright 2007 Luke Closs, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2009-01-09 Socialtext::Resting::LocalCopy(3pm)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Magic numbers '&' operator problem

Hello everyone, on the man page of "magic(5)" There is explanation "&, to specify that the value from the file must have set all of the bits that are set in the specified value" . My question is that what is the difference between '&' and equal operator '=' ? I tested it with file... (6 Replies)
Discussion started by: segmentation
6 Replies

2. Shell Programming and Scripting

Perl : Perl equivalent to the ksh | and ;

Ive been trying to move to Perl. It has been a struggle. My question is, is there a good resource that explains nesting statements. As an example. To change primary Factory CTS 1.9.0(46) P1 *Slot 1 CTS 1.10.2(42) P1 To primary *Slot 1 CTS 1.10.2(42) P1 ... (5 Replies)
Discussion started by: popeye
5 Replies