7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello All,
I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly.
Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies
2. Shell Programming and Scripting
I have been having an extremely annoying problem. For the record, I am relatively new at this. I've only been working with unix-based OS's for roughly two years, mostly Xubuntu and some Kali. I am pretty familiar with the BASH language, as that's the default shell for debian. Now, I've made this... (16 Replies)
Discussion started by: Huitzilopochtli
16 Replies
3. UNIX for Dummies Questions & Answers
My boss use a MacBook and he encounter with DNS drop out and he cannot surf website for 1-2 mins. The DNS Service of my company is on UNIX server. I try to delete some unused IP of DNS Server in resolv.conf and dhcp.conf and I try to update root.hint file but The problem is not fixed.
Please... (5 Replies)
Discussion started by: thsecmaniac
5 Replies
4. Shell Programming and Scripting
How to create a drop down menu in either bash or ksh? (3 Replies)
Discussion started by: proactiveaditya
3 Replies
5. Debian
I have a Debian-derived distro (Kubuntu 8.04) running on a Dell Inspiron laptop. This laptop often wakes from RAM suspension while in my bag. I would like to run a script, upon RAM suspension wake, that would detect if the lid switch is closed. If so, then the script should put the machine back in... (0 Replies)
Discussion started by: dotancohen
0 Replies
6. UNIX for Dummies Questions & Answers
I know that this is a really simple and stupid question, but how do I drop / disconnect a user who is logged in? AIX 5.2 (2 Replies)
Discussion started by: trfrye
2 Replies
7. UNIX for Advanced & Expert Users
I just changed from windows NT to XP and I am no longer able
to connect to my unix system. I used to use hyper terminal -- which acts as dumb terminal to my main frame unix system. I think one of the options used to be "direct to comX". This option isn't listed now. I use a serial port and the... (2 Replies)
Discussion started by: michelle
2 Replies
MooseX::AttributeHelpers::Trait::Collection::Bag(3pm) User Contributed Perl Documentation MooseX::AttributeHelpers::Trait::Collection::Bag(3pm)
NAME
MooseX::AttributeHelpers::Collection::Bag - Bag attribute
SYNOPSIS
package Stuff;
use Moose;
use MooseX::AttributeHelpers;
has 'word_histogram' => (
metaclass => 'Collection::Bag',
is => 'ro',
isa => 'Bag', # optional ... as is defalt
provides => {
'add' => 'add_word',
'get' => 'get_count_for',
'empty' => 'has_any_words',
'count' => 'num_words',
'delete' => 'delete_word',
}
);
DESCRIPTION
This module provides a Bag attribute which provides a number of bag-like operations. See MooseX::AttributeHelpers::MethodProvider::Bag for
more details.
METHODS
meta
method_provider
has_method_provider
helper_type
process_options_for_provides
BUGS
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to
cpan-RT.
AUTHOR
Stevan Little <stevan@iinteractive.com>
COPYRIGHT AND LICENSE
Copyright 2007-2009 by Infinity Interactive, Inc.
<http://www.iinteractive.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2010-01-02 MooseX::AttributeHelpers::Trait::Collection::Bag(3pm)