ODFFINDBASIC(1p) User Contributed Perl Documentation ODFFINDBASIC(1p)NAME
odffindbasic - Basic macro removal from OpenOffice.org files
USAGE
odffindbasic [options] <sourcefile> [<targetfile>]
DESCRIPTION
A simple command that allows the user to detect, export or remove the Basic modules from a regular OpenOffice.org file.
Without option, the program displays the number of Basic modules found in the file.
The 2nd filename is used in combination with the --delete option.
OPTIONS --nocount
Prevents the program from displaying the number of Basic
modules found.
--delete -d
If this option is set, the Basic modules are physically
deleted. The file manifest is updated accordingly.
However, the document content remains unchanged, even if
it contains some references to the deleted macros. The
code is removed (so the macros are no longer executable).
If a target file name is provided as a 2nd argument, the
changes are saved in it and the source file remains
unchanged.
--export -e
Exports the macros. Every Basic module is extracted and
converted to a flat Basic source file in the current
directory. The name of each created file is constructed
according to the corresponding path in the ODF file, and
its suffix is "bas".
--list -l
The Basic modules are listed through the standard
output.
--verbose
Some information messages are printed.
perl v5.14.2 2008-05-04 ODFFINDBASIC(1p)
Check Out this Related Man Page
Statistics::Basic::Median(3pm) User Contributed Perl Documentation Statistics::Basic::Median(3pm)NAME
Statistics::Basic::Median - find the median of a list
SYNOPSIS
Invoke it this way:
my $median = median(1,2,3);
Or this way:
my $v1 = vector(1,2,3);
my $med = median($v1);
And then either query the values or print them like so:
print "The median of $v1: $med
";
my $mq = $med->query;
my $m0 = 0+$med;
Create a 20 point "moving" median like so:
use Statistics::Basic qw(:all nofill);
my $sth = $dbh->prepare("select col1 from data where something");
my $len = 20;
my $med = median()->set_size($len);
$sth->execute or die $dbh->errstr;
$sth->bind_columns( my $val ) or die $dbh->errstr;
while( $sth->fetch ) {
$med->insert( $val );
if( defined( $m = $med->query ) ) {
print "Median: $m
";
}
# This would also work:
# print "Median: $med
" if $med->query_filled;
}
METHODS
new()
The constructor takes a single array ref or a single Statistics::Basic::Vector as arguments. It returns a Statistics::Basic::Median
object.
Note: normally you'd use the median() constructor, rather than building these by hand using "new()".
_OVB::import()
This module also inherits all the overloads and methods from Statistics::Basic::_OneVectorBase.
OVERLOADS
This object is overloaded. It tries to return an appropriate string for the calculation or the value of the computation in numeric
context.
In boolean context, this object is always true (even when empty).
AUTHOR
Paul Miller "<jettero@cpan.org>"
COPYRIGHT
Copyright 2012 Paul Miller -- Licensed under the LGPL
SEE ALSO perl(1), Statistics::Basic, Statistics::Basic::_OneVectorBase, Statistics::Basic::Vector
perl v5.14.2 2012-01-23 Statistics::Basic::Median(3pm)
When I was trying to build OpenOffice.org source code, I got the following error message:
What is an "al" anyway ? I can run mcs in that directory but can't find "al". (1 Reply)
I'm a real newby to BT-Basic and I have this task at hand.
I have to input a user name and password in a BT-Basic program. I would like to compare this input to a name list in root and if found, continue. If not loop back to the input.
I have this:
Oper_Id_Prompt$ = "Enter ID"
print... (1 Reply)
when you see something like this
export SOMEDATA=.:/somedir/files
what does the ".:" mean?
I think the the "." alone would mean current directory but the ":" together is kind of new to me. (6 Replies)
Hi..
Couls somebody help me on how to replace fisrt dan second space between string into comma in files ?
As example, this is an input file:-
033100012 1 Basic Voice Line
033100013 1 Basic Voice Line
033100015 1 Basic Voice Line
and i want it to be
033100012,1,Basic Voice Line... (5 Replies)
I need a little help...
I have a file with 3 fields,
Time/Date, IP address, UniqueID
I have a 2nd file of UniqueIDs.
I want to either (which ever is easier):
1. delete entries in file 1 that have a UniqueID in file 2
2. create a new file with the fields from File 1, excluding the... (4 Replies)
Can anyone advise where to find OpenOffice / LibreOffice / etc package for Solaris 11 x64 ?? Note that I don't wish to compile from source ... tried that already and gave up in disgust due to number of dependencies with broken download links. Seems inconceivable that something like OpenOffice... (4 Replies)
Hi ,
I need to know the difference between $((command)) and $(command) and $(($(command))).
"" and '' and ``.
I have tried searching the help files but cant able to find this.
Could you let me knoq about any document.
Thanks (4 Replies)