State(3) User Contributed Perl Documentation State(3)NAME
State - A package to keep track of plotting commands
SYNOPSIS
use PDL::Graphics::State;
DESCRIPTION
This is a very simple, at present almost trivial, package to keep track of the current set of plotting commands.
USAGE
You create a new object by calling the "new" operator
$state = PDL::Graphics::State->new();
Then for each new command you call "add" on this object so that for a call to "line" of the form
line $x, $y, $opt;
the call to "add" would be like
$state->add(&line, 'line', [$x, $y], $opt);
which is stored internally as:
[&line, 'line', [$x, $y], $opt]
The state can later be extracted using "get" which returns the state object which is an array of anonymous arrays like the one above where
the first object is a reference to the function, the second an anomymous array of arguments to the function and finally an anonymous hash
with options to the command.
If you know the order in which you inserted commands they can be removed by calling "remove" with the number in the stack. No further
interaction is implmented except "clear" which clears the stack and "copy" which returns a "deep" copy of the state.
AUTHOR
Jarle Brinchmann (jarle@astro.ox.ac.uk) after some prodding by Karl Glazebrook.
All rights reserved. There is no warranty. You are allowed to redistribute this software / documentation under certain conditions. For
details, see the file COPYING in the PDL distribution. If this file is separated from the PDL distribution, the copyright notice should be
included in the file.
perl v5.8.0 2001-09-26 State(3)
Check Out this Related Man Page
Exporter(3) User Contributed Perl Documentation Exporter(3)NAME
PDL::Exporter - PDL export control
DESCRIPTION
Implements the standard conventions for import of PDL modules in to the namespace
Hopefully will be extended to allow fine control of which namespace is used.
SYNOPSIS
use PDL::Exporter;
use PDL::MyModule; # Import default function list ':Func'
use PDL::MyModule ''; # Import nothing (OO)
use PDL::MyModule '...'; # Same behaviour as Exporter
DESCRIPTION
"PDL::Exporter" is a drop-in replacement for the Exporter module. It confers the standard PDL export conventions to your module. Usage is
fairly straightforward and best illustrated by an example. The following shows typical usage near the top of a simple PDL module:
package PDL::MyMod;
use strict;
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
require PDL::Exporter;
@ISA = qw(PDL::Exporter);
@EXPORT_OK = qw(inc myfunc); # these will be exported by default
%EXPORT_TAGS = (Func=>[@EXPORT_OK],
Internal => [qw/internfunc1 internfunc2/],
);
# ... body of your module
1; # end of simple module
SEE ALSO
Exporter
AUTHOR
Copyright (C) Karl Glazebrook (kgb@aaoepp.aao.gov.au). Some docs by Christian Soeller. All rights reserved. There is no warranty. You are
allowed to redistribute this software / documentation under certain conditions. For details, see the file COPYING in the PDL distribution.
If this file is separated from the PDL distribution, the copyright notice should be included in the file.
perl v5.12.1 2009-10-17 Exporter(3)
I like to know what unix command i can use to append the second line of file #1 to the end of file #2 so that it performs the following. Thanks in advance. The purpose of this is to keep track of another log file (from crontab) that i have which the log content is flushed every 5 minutes so that... (5 Replies)
Hi,
Not sure if this is the correct forum to post this on but maybe a mod could move it if not.
When trying to move a HACMP resource group between lpars on AIX I receive the following.
State not STABLE/RP_RUNNING or ibcasts Join for node 2 rejected,
Clearing in join protocol flag... (11 Replies)
Florida State University, Tallahassee, FL, USA, Dr. Whalley, COP4342 Unix Tools.
This program takes much of my previous assignment but adds the functionality of printing the concatenated line numbers found within the input.
Sample input from <> operator:
Hello World
This is hello
a sample... (2 Replies)
Guys i have one file and i want the o/p from that file like below
This is my sample file and i want three things from it.
Name:
State just below the Name: dont want the state under the Retention Level:
And retention Level
Name: MEANS_SLP_DAILY
State:... (1 Reply)
Here is very good video from Evan You, founder of Vue.js, on the state of Vue.js
State of Vuenation with Evan You
Here is a nice PDF report on Vue.js
Update State of Vue.js Report
Vue.js is now the second most starred project on GitHub, recently surpassing Bootstrap.
These two... (0 Replies)