7 More Discussions You Might Find Interesting
1. Programming
Hi! I would like to start creating a bridge for good old Unix talk program. This bridge would allow you to joinIRC-channel by using talk just for example. I have a couple of questions:
1. Are there any previous attempts or implementations creating Talk bridge?
2. Which version of the talk... (9 Replies)
Discussion started by: homebeach
9 Replies
2. What is on Your Mind?
At face value this looks bad for Android 6 and Linux.
Wi-fi security flaw 'puts devices at risk of hacks' - BBC News (1 Reply)
Discussion started by: hicksd8
1 Replies
3. Shell Programming and Scripting
Hi,
Could you please advice on the following query:
There are 2 users on a unix box:
1. aaaa
2. bbbb
I open 2 putty sessions and login with the above 2 users.
Then I type the following using the aaaa user to chat with bbbb.
talk bbbb
or
talk bbbb@hostname
Result: the screen goes... (1 Reply)
Discussion started by: miltonkeynesguy
1 Replies
4. IP Networking
I have the manpage for this utility on my system, but the utility itself is not there.
My friend has the utility, but it does not work, not even on the same machine.
Does anyone remember it? What software package is it related to? Where is it configured? (1 Reply)
Discussion started by: Corona688
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I am trying talk but it isn't working.
I tried
talk ip terminal
talk ip:terminal
First it says:
Then after 2 seconds
I have checked the mesg status: Its y
I am not getting any invitation on the other machine.
Thanks in Advance (1 Reply)
Discussion started by: vibhor_agarwali
1 Replies
6. UNIX for Advanced & Expert Users
Does anyone know how to route apple talk through a bridged connection ? :eek: (1 Reply)
Discussion started by: maxamaynard
1 Replies
7. UNIX for Dummies Questions & Answers
Are "talk" sessions logged or can they be logged? (1 Reply)
Discussion started by: pbonilla
1 Replies
LEARN ABOUT DEBIAN
algorithm::dependency::source
Algorithm::Dependency::Source(3pm) User Contributed Perl Documentation Algorithm::Dependency::Source(3pm)
NAME
Algorithm::Dependency::Source - Implements a source of heirachy items
DESCRIPTION
The Algorithm::Dependency::Source class provides an abstract parent class for implementing sources for the heirachy data the algorithm will
use. For an example of an implementation of this, see Algorithm::Dependency::Source::File, which is bundled with the main
Algorithm::Dependency package.
METHODS
new @arguments
Although you cannot directly use the "new" constructor for "Algorithm::Dependency::Source", it will work the same in all subclasses.
The constructor takes zero or more subclass specific arguments to define the location of the source of the items, and returns a new object.
Alrough it may check that the arguments you passed are valid, the source will usually NOT actually load the items from the source, instead
defering the loading until you need to use the items.
Returns a new object on success, or "undef" on error.
load
The "load" method is the public method used to actually load the items from their storage location into the the source object. The method
will automatically called, as needed, in most circumstances. You would generally only want to use "load" manually if you think there may be
some uncertainty that the source will load correctly, and want to check it will work.
Returns true if the items are loaded successfully, or "undef" on error.
item $name
The "item" method fetches and returns the item object specified by the name argument.
Returns an Algorithm::Dependency::Item object on success, or "undef" if the named item does not exist in the source.
items
The "items" method returns, as a list of objects, all of the items contained in the source. The item objects will be returned in the same
order as that in the storage location.
Returns a list of Algorithm::Dependency::Item objects on success, or "undef" on error.
missing_dependencies
By default, we are leniant with missing dependencies if the item is neved used. For systems where having a missing dependency can be very
bad, the "missing_dependencies" method checks all Items to make sure their dependencies exist.
If there are any missing dependencies, returns a reference to an array of their ids. If there are no missing dependencies, returns 0.
Returns "undef" on error.
EXTENDING
"Algorithm::Dependency::Source" itself is a fairly thin module, and it is intended that you will probably need to extend it to be able to
extract item data from whatever location you have stored them.
This is usually a fairly simple two step process.
Overload the "new" method.
Assuming your subclass takes some form or argument on creation, you will need to overload the "new" method to accept the arguments,
validate them, and store them in the source object.
Define the method "_load_item_list".
Leaving our parent's "load" method to take care of conflict, errors, and whatever, the "_load_item_list" method is used to simply
create a list of Algorithm::Dependency::Item objects from wherever you store the item, and return them as a list.
Having completed these two things, your subclass should be completed. For an example of the code, have a look at the source for the simple
subclass Algorithm::Dependency::Source::File.
SUPPORT
For general comments, contact the author.
To file a bug against this module, in a way you can keep track of, see the CPAN bug tracking system.
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Algorithm-Dependency <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Algorithm-Dependency>
AUTHOR
Adam Kennedy <adamk@cpan.org>
SEE ALSO
Algorithm::Dependency, Algorithm::Dependency::Source::File
COPYRIGHT
Copyright 2003 - 2009 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
perl v5.12.4 2009-04-14 Algorithm::Dependency::Source(3pm)