data::phrasebook::loader::base(3pm) [debian man page]
Data::Phrasebook::Loader::Base(3pm) User Contributed Perl Documentation Data::Phrasebook::Loader::Base(3pm)NAME
Data::Phrasebook::Loader::Base - Base loader plugin class.
SYNOPSIS
$class->new( %attributes );
DESCRIPTION
"Data::Phrasebook::Loader::Base" acts as a base class for phrasebook plugins.
CONSTRUCTOR
new
"new" instantiates the plugin object, creating a blessed hash of any attributes passed as arguments.
INHERITABLE METHODS
load
"load" is an abstract method here. You must define your own in your subclass. Loads the phrasebook.
get
"get" is an abstract method here. You must define your own in your subclass. Gets the phrase.
dicts
"dicts" is an abstract method here. You must define your own in your subclass. Returns the list of dictionaries available.
keywords
"keywords" is an abstract method here. You must define your own in your subclass. Returns the list of keywords available.
class
Returns the current "class" of loader.
SEE ALSO
Data::Phrasebook, Data::Phrasebook::Loader.
SUPPORT
Please see the README file.
AUTHOR
Barbie, <barbie@cpan.org>
for Miss Barbell Productions <http://www.missbarbell.co.uk>.
COPYRIGHT AND LICENSE
Copyright (C) 2004-2010 Barbie for Miss Barbell Productions.
This module is free software; you can redistribute it and/or
modify it under the Artistic Licence v2.
perl v5.10.1 2010-08-31 Data::Phrasebook::Loader::Base(3pm)
Check Out this Related Man Page
Data::Phrasebook::Plain(3pm) User Contributed Perl Documentation Data::Phrasebook::Plain(3pm)NAME
Data::Phrasebook::Plain - The Simple Phrasebook Model.
SYNOPSIS
use Data::Phrasebook;
my $q = Data::Phrasebook->new(
class => 'Plain',
loader => 'Text',
file => 'phrases.txt',
);
my $r = Data::Phrasebook->new( file => 'phrases.txt' );
# simple keyword to phrase mapping
my $phrase = $q->fetch($keyword);
# keyword to phrase mapping with parameters
$q->delimiters( qr{ [% s* (w+) s* %] }x );
my $phrase = $q->fetch($keyword,{this => 'that'});
DESCRIPTION
This module is the fallback or default phrasebook class. It doesn't do much except act as a very simple templating facility.
METHODS
fetch
Retrieves the specified "template" and substitutes any "keywords" for "values".
Thus, given:
hello=Hello [% where %]!
And code:
my $text = $q->fetch( 'hello', {
where => 'world'
} );
Return value is:
Hello world!
The delimiters are deliberately taken from Template Toolkit.
SEE ALSO
Data::Phrasebook, Data::Phrasebook::Generic.
SUPPORT
Please see the README file.
AUTHOR
Original author: Iain Campbell Truskett (16.07.1979 - 29.12.2003)
Maintainer: Barbie <barbie@cpan.org> since January 2004.
for Miss Barbell Productions <http://www.missbarbell.co.uk>.
COPYRIGHT AND LICENSE
Copyright (C) 2003 Iain Truskett.
Copyright (C) 2004-2010 Barbie for Miss Barbell Productions.
This module is free software; you can redistribute it and/or
modify it under the Artistic Licence v2.
perl v5.10.1 2010-08-31 Data::Phrasebook::Plain(3pm)
Hi all!
Here is my problem : I have a string like the following :
20030613170404;BAN_CAV ; starting script Loader.sh on ; 13/06/2003 at ; 17;04;03
I want to eraze all characters located after "Loader.sh", because there are unuseful.
I tried to use sed...but it didnt work....i guess i... (1 Reply)
Hi all!
here is the file i am trying to sort :
GREIMBAJ00;BAN_CAV;Loader.sh;2003/06/13;17:04:04
GREIMBAJ00;PER_COT;Loader.sh;2003/06/13;17:04:16
GREIMBAJ00;PER_COT;Traitement.sh;2003/06/13;17:04:18
GREIMBAJ00;BAN_PAK;Loader.sh;2003/06/13;17:04:11... (3 Replies)
Hi all again,
here is the file i am working on :
GREIMBAJ00;BAN_CAV;Loader.sh;2003/06/13;17:04:04
GREIMBAJ00;BAN_CAV;Loader.sh;2003/06/13;17:04:06
GREIMBAJ00;BAN_PAK;Loader.sh;2003/06/13;17:04:11
GREIMBAJ00;BAN_PAK;Loader.sh;2003/06/13;17:04:18... (5 Replies)
Hi All,
I am getting coredump error, when I try to execute Oracle SQL*Loader from Shell script in Unix environment. But SQL*Loader from local machine runs fine with same database.
SQL*Loader: Release 9.2.0.6.0 - Production on Mon Apr 23 05:23:47 2007
Copyright (c) 1982, 2002, Oracle... (3 Replies)
Hi Guys,
I am looking to develop a SQL Loader script that would bascially allow the user to have a txt file (or such) as an input file containing .sql scripts procedures, triggers, bascially anything against a database that could then be run automatically.
Let me break it down a bit more,... (2 Replies)
Hi All ,
I am unable to reinstall the OS on my Ultra Sparc 10. After the 1st CD is loaded when it goes for reboot its goes to ok prompt an its unable to boot.
What could be reason for this behavior? while loading the OS its seems fine but unable to boot!!
Then i tried changing the... (2 Replies)
Hi Frnds,
I wanto load the data thats in data file with comma(,) delimited.
it throw this errors
SQL*Loader-951: Error calling once/load initialization
ORA-00604: error occurred at recursive SQL level 1
ORA-00054: resource busy and acquire with NOWAIT specified
Plz look at my file... (3 Replies)
Hi,
I have a log file whose size is number of characters in the file with multiple lines.
Example:
SQL*Loader: Release 10.2.0.4.0 - Production on Sat Sep 12 07:55:29 2009
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Control File: ../adm/ctl/institution.ctl
Character Set... (4 Replies)
Hello Everyone,
I am stuck with one issue while working on abstract flat file which i have to use as input and load data to table.
Input Data-
------ ------------------------ ---- -----------------
WFI001 Xxxxxx Control Work Item A Number of Records
------ ------------------------... (5 Replies)
Hi
I am running Sql Loader script in Unix Shell Script, I want to make shell script failure when Sql Loader script gives any warnings or failed. Please advise on this.
Thanks (1 Reply)