Padre::DB::LastPositionInFile - db table keeping last position in a file
Padre::DB::LastPositionInFile->set_last_pos($file, $pos); my $pos = Padre::DB::LastPositionInFile->get_last_pos($file);
This class allows storing in Padre's database the last cursor position in a file. This is useful in order to put the cursor back to where it was when re-opening this file later on.
The following accessors are automatically created by ORLite:
ORLite
The following subs are automatically created by ORLite. Refer to ORLite for more information on them:
Record $pos as the last known cursor position in $file.
$pos
$file
Return the last known cursor position for $file. Return undef if no position was recorded for this file.
Copyright 2008-2009 The Padre development team as listed in Padre.pm.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
To install Padre, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Padre
CPAN shell
perl -MCPAN -e shell install Padre
For more information on module installation, please visit the detailed CPAN module installation guide.