8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
what is a assembler
what isa interpreter
what is a compiler
what is a socket
what is a port
what is meant by listening to a port how we do it
how to know version and standard of unix one is using when one is on public access unix account
how to see a jobid in... (1 Reply)
Discussion started by: scimitar
1 Replies
2. UNIX for Dummies Questions & Answers
Hi all
today i gone through worst interview of my life that for hour questions were so basic but i never though about them now i am figuring out answers my self but i would appreciate if you ppl help me ... i am listing some of the questions i remember ..
1 )
$ cat a.sh
#! /usr/bin/ksh... (4 Replies)
Discussion started by: zedex
4 Replies
3. UNIX for Dummies Questions & Answers
I have multiple questions
How to list or find only Nov month's files?
How can I get state of process like running, stop, or sleep etc?
How can I check dependences of processes?
plz ans any if u can
thx regards,
Mazhar Hussain (3 Replies)
Discussion started by: mazhar99
3 Replies
4. UNIX for Dummies Questions & Answers
Hey guys,
I've seen this posted a few times when i searched but I kinda want to know the cleanest way of doing it.
On Solaris 8 and Solaris 9
What is the best way to disable telnet ssh1 and remote root login premanently?
I've seen posts that say edit /etc/services edit this edit that... (3 Replies)
Discussion started by: kingdbag
3 Replies
5. Programming
Hi there.
I've got 12 years experience writing C++ on Windows, and 3 years C# on Windows. Now my boss wants me to write a C++ app to run on Unix as a multithreaded 'service' (i.e. a program that runs with no user intervention).
Some quick questions for The Experts:
* Whats the best C++... (3 Replies)
Discussion started by: Rutland Gizz
3 Replies
6. UNIX for Dummies Questions & Answers
Hi-
Newbie here with some basic questions:
1) I can't get alias to work. I tried alias ll='ls -al', but it doesn't work. When just typing 'alias', the new definition doesn't appear. I'm in a bash shell -- is that the problem. I tried switching to csh, but that didn't seem to help. This... (5 Replies)
Discussion started by: Aworstell
5 Replies
7. UNIX for Dummies Questions & Answers
I'm trying to find out what all is involved with setting up SFTP?
1) Do Solaris machines come with a SFTP server and client already installed.
2) If so would I have to install SFTP clients on windows, if I want to transfer files to a Solaris box?
3) If SFTP doesn't come prepackaged would I... (1 Reply)
Discussion started by: JohnRodey
1 Replies
8. UNIX for Dummies Questions & Answers
Can somebody please tell me a little about UNIX OS. For instance, is it ideal for digital media or how easy is it to get help and support? (3 Replies)
Discussion started by: buk5d
3 Replies
MakeMethods::Basic(3pm) User Contributed Perl Documentation MakeMethods::Basic(3pm)
NAME
Class::MakeMethods::Basic - Make really simple methods
SYNOPSIS
package MyObject;
use Class::MakeMethods::Basic::Hash (
'new' => [ 'new' ],
'scalar' => [ 'foo', 'bar' ]
);
package main;
my $obj = MyObject->new( foo => "Foozle", bar => "Bozzle" );
print $obj->foo();
$obj->bar("Barbados");
DESCRIPTION
This document describes the various subclasses of Class::MakeMethods included under the Basic::* namespace, and the method types each one
provides.
The Basic subclasses provide stripped-down method-generation implementations.
Subroutines are generated as closures bound to each method name.
Calling Conventions
When you "use" a subclass of this package, the method declarations you provide as arguments cause subroutines to be generated and installed
in your module. You can also omit the arguments to "use" and instead make methods at runtime by passing the declarations to a subsequent
call to "make()".
You may include any number of declarations in each call to "use" or "make()". If methods with the same name already exist, earlier calls to
"use" or "make()" win over later ones, but within each call, later declarations superceed earlier ones.
You can install methods in a different package by passing "-TargetClass => package" as your first arguments to "use" or "make".
See "USAGE" in Class::MakeMethods for more details.
Declaration Syntax
The following types of declarations are supported:
o generator_type => 'method_name'
o generator_type => 'name_1 name_2...'
o generator_type => [ 'name_1', 'name_2', ...]
For a list of the supported values of generator_type, see "BASIC CLASSES" in Class::MakeMethods::Docs::Catalog, or the documentation for
each subclass.
For each method name you provide, a subroutine of the indicated type will be generated and installed under that name in your module.
Method names should start with a letter, followed by zero or more letters, numbers, or underscores.
SEE ALSO
See Class::MakeMethods for general information about this distribution.
For distribution, installation, support, copyright and license information, see Class::MakeMethods::Docs::ReadMe.
perl v5.10.1 2004-09-06 MakeMethods::Basic(3pm)