How a broker spent $520m in a drunken stupor and moved the global oil price
by Rowena Mason, Telegraph.co.uk It’s probably not uncommon for City traders to wonder how they burnt so much cash during a drunken night on the town. But Steve Perkins was left with a bigger black hole in his memory than most when his employer rang one morning to ask [...]
Hi,
If I change date and time in global zone, then it will affect in non global zones.
During this process what files will get affect in non global zones and which mechanism it's using to change.
gloabl zone:Solaris 11.3 X86
TIA (1 Reply)
hi all,
Just a simple question but i cant get the answers in the book -
In my globalzone , assuming i have 4 cpus (psrinfo -pv = 0-3), if i set dedicated-cpu (ncpus=2) for my local zone
Is my globalzone left with 2 cpus or still 4 cpus ? Does localzone "resource reservation.e.g. cpu in... (6 Replies)
Before I begin with the question, I just want to point out that I just started learning unix in the middle of last week, so my code (and knowledge of how unix operates) is weak sauce. I took my best stab at this question but it's just not working.
Assignment:
Create a script named... (1 Reply)
Hi Guys,
My requirement is I have file called /opt/orahome/.profile in non global zone.
PATH=/usr/bin:/usr/ucb:/etc:/usr/sbin:/usr/local/bin:/usr/openwin/bin:.
export PATH
PS1="\${ORACLE_SID}:`hostname`:\$PWD$ "
export PS1
EDITOR=vi
export EDITOR
ENV=/opt/orahome/.kshrc
export ENV... (1 Reply)
Mason::Manual::Setup(3pm) User Contributed Perl Documentation Mason::Manual::Setup(3pm)NAME
Mason::Manual::Setup - Setting up Mason
SETUP
Web development
The most common use of Mason is to generate dynamic web content.
Poet is a web framework designed specifically to work with Mason. Given an HTTP request, Poet generates a corresponding Mason request, and
uses the output from Mason to form the HTTP response. Poet takes care of the web development details that are outside of Mason's domain,
such as server integration and configuration. Poet::Manual::Tutorial shows how to set up a Poet/Mason site in great detail.
Mason can also be used in the popular web frameworks Catalyst and Dancer, as a drop-in replacement for their default template engines. See
Catalyst::View::Mason2 and Dancer::Template::Mason2.
Non-web development
Mason can be used to generate any kind of dynamic content. I have personally used it to generate Apache configuration files, emails, and
C++ code.
To use Mason from a script or library, use the Mason::Interp API:
my $interp = Mason->new(
comp_root => '/path/to/comps',
data_dir => '/path/to/data',
...
);
my $output = $interp->run( '/request/path', foo => 5 )->output();
If you want to process a directory with a mix of Mason templates and static files, check out Any::Template::ProcessDir.
To try out Mason syntax from the command line, use the mason script:
% mason
2 + 2 = <% 2+2 %>
^D
2 + 2 = 4
LOGGING
Mason uses Log::Any to log various events, such as the start and end of each request. You can direct thesse logs to the output of your
choice; see Log::Any::Adapter. If you don't specify anything then the logs will go into the void.
SEE ALSO
Mason
AUTHOR
Jonathan Swartz <swartz@pobox.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Jonathan Swartz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-05-02 Mason::Manual::Setup(3pm)