8 More Discussions You Might Find Interesting
1. Solaris
I am again rephrasing the issue that we are facing:
We are creating link aggregations with two interfaces named net0 & net5:
# dladm create-aggr -m dlmp -l net0 -l net5 -l net2 aggr1
Setting prob targets for aggr1:
# dladm set-linkprop -p probe-ip=+ aggr1
Setting failure detection... (3 Replies)
Discussion started by: amitanshu.verma
3 Replies
2. UNIX and Linux Applications
Hi ,
I am trying to impliment mod_proxy and mod_proxy_html as a reverse proxy for oracle EBS. Everything is working fine except the submenu links (still pointing to the internal url) of the modules tree view. Please help me.
Regards,
Arumon (0 Replies)
Discussion started by: arumon
0 Replies
3. Solaris
Hi Al,
In course of understanding networking in Solaris, I have these doubts on Interfaces. Please clarify me. I have done fair research in this site and others but could not be clarified.
1. In the "ifconfig -a" command, I see many interfaces and their configurations. But I see many... (1 Reply)
Discussion started by: satish51392111
1 Replies
4. Shell Programming and Scripting
After processing around 300 files , I am getting the below error.Please help me to resolve it
cat: 0652-050 Cannot open /dir1/dir2/dir3/dir/abc.txt
mv: 0653-401 Cannot rename /dir1/dir2/dir3/dir/abc.temp to /dir1/dir2/dir3/dir/abc.csv:
.
.
.
how to avoid it.
because I am getting... (1 Reply)
Discussion started by: vsachan
1 Replies
5. AIX
Hi All,
I'm getting this error when I use "pg".
/tmp is not full and the permission is correct.
root@axappk01::/home> hostname|pg
pg: 0652-122 Cannot write to the temporary file.
Please advise. (6 Replies)
Discussion started by: fara_aris
6 Replies
6. Programming
Hi all,
I think that the title is explicit enough :) I would like in a C program to list the interfaces with a valid IP. Those that can permit to send something over a network.
Thanks ;) (7 Replies)
Discussion started by: brolon
7 Replies
7. AIX
Hello,
Whenever a non-root user try to run any cmd with |pg on a AIX 5.1 system it returns:
pg: 0652-121 Cannot create the temporary file.
Does anyone knows what this is about? This doesn't occur with root account.
Obrigado (2 Replies)
Discussion started by: maraquez
2 Replies
8. UNIX for Advanced & Expert Users
Hi,
I am writing a ksh script to delete old files from directory, which will be called by several wrapper scripts parallely.
The deletion is done using find command. It is working fine. but sometimes i get the error :
The status on /home/mydir/mfgsite is not valid.
The script is... (3 Replies)
Discussion started by: shihabvk
3 Replies
Aspect::Advice::Around(3pm) User Contributed Perl Documentation Aspect::Advice::Around(3pm)
NAME
Aspect::Advice::Around - Execute code both before and after a function
SYNOPSIS
use Aspect;
around {
# Trace all calls to your module
print STDERR "Called my function " . $_->sub_name . "
";
# Lexically alter a global for this function
local $MyModule::MAXSIZE = 1000;
# Continue and execute the function
$_->run_original;
# Suppress exceptions for the call
$_->return_value(1) if $_->exception;
} call qr/^ MyModule::w+ $/;
DESCRIPTION
The "around" advice type is used to execute code on either side of a function, allowing deep and precise control of how the function will
be called when none of the other advice types are good enough.
Using "around" advice is also critical if you want to lexically alter the environment in which the call will be made (as in the example
above where a global variable is temporarily changed).
This advice type is also the most computationally expensive to run, so if your problem can be solved with the use of a different advice
type, particularly "before", you should use that instead.
Please note that unlike the other advice types, your code in "around" is required to trigger the execution of the target function yourself
with the "proceed" method. If you do not "proceed" and also do not set either a "return_value" or "exception", the function call will
return "undef" in scalar context or the null list "()" in list context.
AUTHORS
Adam Kennedy <adamk@cpan.org>
COPYRIGHT AND LICENSE
Copyright 2010 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::Around(3pm)