09-03-2017
Thanks guys for you sincere advice. Its being taking. Thanks.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
this is probably the dumbest question but it must be asked:
how can i go about getting into unix?
what would be a good first unix system?
where can i get it?
how much will it cost me?
what can i do with unix?
i currently use a mac at home and a win2000 pro system at work, what is better... (1 Reply)
Discussion started by: aeser
1 Replies
2. UNIX for Dummies Questions & Answers
My friend told me all about this Unix program I want to know were to start out and what to do with this unix program. Really anxious to learn anything about unix.cya hope you guys read this. (3 Replies)
Discussion started by: shinobikil
3 Replies
3. Shell Programming and Scripting
I currently have a shell script that creates Oracle databases configured the way we want them here. One part of it allows you to choose which file system to place the database files. This is the command which works.
This produces a list of file systems from which to choose. I have been... (1 Reply)
Discussion started by: sewood
1 Replies
4. Shell Programming and Scripting
Hello Unix gurus,
I have a txt file with single columns with n no of rows.like below
COLUMN1
=======
AAA
BBB
CCC
DDD
EEE
FFF
GGG
HHH
.
.
.
NNN. (10 Replies)
Discussion started by: kanakaraju
10 Replies
5. Shell Programming and Scripting
The .profile file should be read when the user logs in. So, there should be no need to execute .profile file again in a cron job (since the cron job is run after the user logs in). Doesn't the cron require login from the user. Then, from where does the cron execute? Please help!! (1 Reply)
Discussion started by: thulasidharan2k
1 Replies
6. What is on Your Mind?
i am new to unix.i just started learning unix on my own,could u please tell me where i can get the basic of unix. . (4 Replies)
Discussion started by: rohit243
4 Replies
7. Hardware
Hi gurus,
I have problem with android usb tethering (usb0 interface). I tried two phones HTC Desire C and HTC Desire S. With Desire C everything works as expected, usb0 automatically goes up and gains IP address and tethering is working (output bellow)
HTC Desire C:
Nov 6 23:32:36 HP-PC... (0 Replies)
Discussion started by: wakatana
0 Replies
8. UNIX for Dummies Questions & Answers
Hi Guys,
I am newbie here and greeting to all guys of unix forum, now I want to learn unix here.
I have query here, we have file where file has 20 line record, now i want display 10 to 15 line row record only, then how it possible. (5 Replies)
Discussion started by: aaditya321
5 Replies
LEARN ABOUT DEBIAN
aspect::advice
Aspect::Advice(3pm) User Contributed Perl Documentation Aspect::Advice(3pm)
NAME
Aspect::Advice - Change how Perl code is run at a pointcut
SYNOPSIS
# Trace calls to all functions in all MyAccount classes
use Aspect;
before {
print 'Called: '. $_->sub_name;
} call qw/^MyAccount::/;
# Repeat using the pure object-oriented interface
use Aspect::Advice::Before ();
use Aspect::Pointcut::Call ();
my $advice = Aspect::Advice::Before->new(
pointcut => Aspect::Pointcut::Call->new( qr/^MyAccount::/ ),
code => sub {
print 'called: '. $_->sub_name;
},
);
DESCRIPTION
An "advice" in AOP lingo is composed of a condition (known as a Aspect::Pointcut) and some code that will run when that pointcut is true.
This code is run before, after, or around the target pointcut depending on the particular advice type declaration used.
You do not normally create advice using the constructor. By "use()"ing Aspect, you get five advice declaration subroutines imported.
"before" is used to indicate code that should run prior to the function being called. See Aspect::Advice::Before for more information.
"after" is used to indicate code that should run following the function being called, regardless of whether it returns normally or throws
an exception. See Aspect::Advice::After for more information.
"around" is used to take deeper control of the call and gives you your own lexical scope between the caller and callee, with a specific
"proceed" call required in your code to execute the target function. See Aspect::Advice::Around for more information.
When the advice code is called, it is provided with an Advice::Point object which describes the context of the call to the target function,
and allows you to change it.
This parameter is provided both via the topic variable $_ (since version 0.90) and additionally as the first parameter to the advice code
(which may be deprecated at some point in the future).
If you are creating "advice" objects directly via the OO interface, you should never use this class directly but instead use the class of
the particular type of advice you want to create.
AUTHORS
Adam Kennedy <adamk@cpan.org>
Marcel Gruenauer <marcel@cpan.org>
Ran Eilam <eilara@cpan.org>
COPYRIGHT
Copyright 2001 by Marcel Gruenauer
Some parts copyright 2009 - 2012 Adam Kennedy.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-02-01 Aspect::Advice(3pm)