| Next: Yawns::Sidebar | Previous: Yawns::RSS | [Table of Contents] |
Yawns::Scratchpad - A module for interfacing with a users's scratchpad text
#!/usr/bin/perl -w
use Yawns::Scratchpad;
use strict;
my $pad = Yawns::Scratchpad->new( username => "username" );
my $current = $pad->get();
$pad->set( "This is my new text" );
This module will store an arbitary block of text inside a users "scratchpad" area
The scratchpad notion is inspired by that used upon the PerlMonks website.
Create a new instance of this object.
Is the users scratchpad data private?
Find and return the user's scratchpad text.
Update the users scratchpad text
Clean any cached content we might have.
Steve Kemp
http://www.steve.org.uk/
Copyright (c) 2005-2006 by Steve Kemp. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The LICENSE file contains the full text of the license.