Hello,
I need explanations about physical disks and physical volumes. What is the difference between these 2 things?
In fact, i am trying to understand what the AIX lspv2command does.
Thank you in advance. (2 Replies)
I was in smit, checking on disc space, etc. and it appears that one of our physical volumes that is part of a large volume group, has no free physical partitions. The server is running AIX 5.1. What would be the advisable step to take in this instance? (9 Replies)
I need help in forming a script to copy files from one location which has a sub directory structure to another location with similar sub directory structure,
say location 1,
/home/rick/tmp_files/1-12/00-25/
here 1-12 are the number of sub directories under tmp_files and 00-25 are sub... (1 Reply)
Hello
How do I deternine the physical location of an ethernet port, based on the hardware address?
I have 4 ports on a 9133-55A
ent0 05-08
ent1 05-09
ent2 07-08
ent3 07-09
Two of these are internal, and two are on a card. I need to single out ent0 and ent2, but I cannot find any... (4 Replies)
Hello All,
Can anybody please tell me what is the maximum limit of Physical IBM Power Machine which can be handled by single HMC at a single point of time?
Thanks,
Jenish (1 Reply)
Create a script that copies files from one specified directory to another specified directory, in the order they were created in the original directory between specified times. Copy the files at a specified interval. (2 Replies)
Hi,
I am logging to a linux server through a user "user1" in /home directory.
There is a script in a directory in 'root' for which all permissions are available including the directory. This script when executed creates a file in the directory.
When the script is added to crontab, on... (1 Reply)
If one:
$ find -name 'some expression' -type f > newfile
and then subsequently wants to create an alias file from each pathname the find command retrieved and the > placed within 'newfile', how would one do this? Ideally, the newly created alias files would all be in one directory.
I am... (3 Replies)
Hi
This is my third past and very impressed with previous post replies
Hoping the same for below query
How to find a existing file location and directory location in solaris box (1 Reply)
A) I would like to achive following actions using shell script. can someone help me with writing the shell script
1) Go to some dir ( say /xyz/logs ) and then perform find operation in this dir and list of subdir using
find . -name "*" -print | xargs grep -li 1367A49001CP0162 >... (1 Reply)
Discussion started by: GG2
1 Replies
LEARN ABOUT DEBIAN
moosex::aliases
MooseX::Aliases(3pm) User Contributed Perl Documentation MooseX::Aliases(3pm)NAME
MooseX::Aliases - easy aliasing of methods and attributes in Moose
VERSION
version 0.10
SYNOPSIS
package MyApp;
use Moose;
use MooseX::Aliases;
has this => (
isa => 'Str',
is => 'rw',
alias => 'that',
);
sub foo { my $self = shift; print $self->that }
alias bar => 'foo';
my $o = MyApp->new();
$o->this('Hello World');
$o->bar; # prints 'Hello World'
or
package MyApp::Role;
use Moose::Role;
use MooseX::Aliases;
has this => (
isa => 'Str',
is => 'rw',
alias => 'that',
);
sub foo { my $self = shift; print $self->that }
alias bar => 'foo';
DESCRIPTION
The MooseX::Aliases module will allow you to quickly alias methods in Moose. It provides an alias parameter for "has()" to generate aliased
accessors as well as the standard ones. Attributes can also be initialized in the constructor via their aliased names.
You can create more than one alias at once by passing a listref:
has ip_addr => (
alias => [ qw(ipAddr ip) ],
);
FUNCTIONS
alias ALIAS METHODNAME
Installs ALIAS as a method that is aliased to the method METHODNAME.
CAVEATS
The order of arguments for the "alias" method has changed (as of version 0.05). I think the new order makes more sense, and it will make
future refactoring I have in mind easier. The old order still works (although it gives a deprecation warning), unless you were relying on
being able to override an existing method with an alias - this will now override in the other direction. The old argument order will be
removed in a future release.
BUGS
No known bugs.
Please report any bugs through RT: email "bug-moosex-aliases at rt.cpan.org", or browse to
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooseX-Aliases <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooseX-Aliases>.
SEE ALSO
o Moose
o Method::Alias
SUPPORT
You can find this documentation for this module with the perldoc command.
perldoc MooseX::Aliases
You can also look for information at:
o AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/MooseX-Aliases <http://annocpan.org/dist/MooseX-Aliases>
o CPAN Ratings
http://cpanratings.perl.org/d/MooseX-Aliases <http://cpanratings.perl.org/d/MooseX-Aliases>
o RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooseX-Aliases <http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooseX-Aliases>
o Search CPAN
http://search.cpan.org/dist/MooseX-Aliases <http://search.cpan.org/dist/MooseX-Aliases>
AUTHORS
o Jesse Luehrs <doy at tozt dot net>
o Chris Prather <chris@prather.org>
o Justin Hunter <justin.d.hunter at gmail dot com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Jesse Luehrs.
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.12.3 2011-04-29 MooseX::Aliases(3pm)