04-11-2002
PxT took the words outta my mouth
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I need to access files from a specific folder of a Linux system from an another Linux System Remotely.
I know how to, Export a folder on One SCO System & can access the same by using Import via., NFS in the Sco Unix SVR4 System using the scoadmin utility.
Also, I know to use mount -t ... (2 Replies)
Discussion started by: S.Vishwanath
2 Replies
2. UNIX for Dummies Questions & Answers
I've configured my TCP/IP to have the right protocols to access the internet such as TPC/IP, subnet mask, gateway and dns server but still Im not able to ping anything to the internet. Anybody who has some few good words for me? I need help. Thanks. (2 Replies)
Discussion started by: nseal101
2 Replies
3. UNIX for Dummies Questions & Answers
Internet access via gateway
env: RedHat 6.1
Hi,
Until now, we used PPP via an ISDN modem to connect our server to
the internet. The ISDN ip-up/down scripts in /etc/ppp add ippp0
as the default route. From that point on we can for instance get mail
via fetchmail.
Now we have a ADSL... (1 Reply)
Discussion started by: progressdll
1 Replies
4. UNIX for Dummies Questions & Answers
Hi everybody, I'd like create a connection (by modem) for my unix workstation. I just have the RS232 port and my modem, no lan connection, and I want to surf the net. How can I setup it?
Thanks in advance,
Mauro (1 Reply)
Discussion started by: Mauro
1 Replies
5. SCO
My SCO box has lost connection to the internet. It sites behind a fire wall and is connected to a local network. What should I check for. (2 Replies)
Discussion started by: fruiz
2 Replies
6. Solaris
Hi Friends,:b:
This is venkatesh, i have Intel Dual core PC and installed Solaris 10. I have a problem that i cannot access internet in my PC i don't know either the drivers installed or not. I manually assign ip 192.168.1.7 and if i ping to this it is alive and if i ping for 192.168.1.1 for the... (4 Replies)
Discussion started by: 1409.venkatesh
4 Replies
7. Solaris
hi experts
i have a sun Enterprise 220 R server with solaris 10 and patches , i configured network card with ip addresses that have access to Internet but i can't be connected :confused:
for same informations :
root@E220R # ifconfig -a
lo0:... (5 Replies)
Discussion started by: lid-j-one
5 Replies
8. UNIX for Dummies Questions & Answers
Hi everybody.
I've setup SunSolaris 10 on VirtualBox, but when I start Sun, I can connect to the Internet, when I open terminal and type command for list device ethernet:
#ifconfig -a
just only see loopback lo0
Can help me solve this problem?
Thank you very much,
ken (0 Replies)
Discussion started by: kenjingo
0 Replies
9. IP Networking
Hi
Good Day, i would like to ask for further info about my problems experiencing this evening. Im a PPP0 connection in the internet using 3G located in asia pacific region.i had this problem this evening in my INTERNET connections that there are some sites i can't open example ( Gizmodo.com,... (2 Replies)
Discussion started by: jao_madn
2 Replies
10. Homework & Coursework Questions
Dear Friends,
This is not a problem , it's a course work (UNIX scenario)....
As part of it I am searching Remote Attacks and find points as
1. Exploiting a listening service
2. Routing through Unix system that is providing security between 2 or more networks
3. User initiated Remote execution... (1 Reply)
Discussion started by: anespa
1 Replies
Carp(3pm) Perl Programmers Reference Guide Carp(3pm)
NAME
carp - warn of errors (from perspective of caller)
cluck - warn of errors with stack backtrace
(not exported by default)
croak - die of errors (from perspective of caller)
confess - die of errors with stack backtrace
shortmess - return the message that carp and croak produce
longmess - return the message that cluck and confess produce
SYNOPSIS
use Carp;
croak "We're outta here!";
use Carp qw(cluck);
cluck "This is how we got here!";
print FH Carp::shortmess("This will have caller's details added");
print FH Carp::longmess("This will have stack backtrace added");
DESCRIPTION
The Carp routines are useful in your own modules because they act like die() or warn(), but with a message which is more likely to be use-
ful to a user of your module. In the case of cluck, confess, and longmess that context is a summary of every call in the call-stack. For
a shorter message you can use carp, croak or shortmess which report the error as being from where your module was called. There is no
guarantee that that is where the error was, but it is a good educated guess.
Here is a more complete description of how shortmess works. What it does is search the call-stack for a function call stack where it
hasn't been told that there shouldn't be an error. If every call is marked safe, it then gives up and gives a full stack backtrace
instead. In other words it presumes that the first likely looking potential suspect is guilty. Its rules for telling whether a call
shouldn't generate errors work as follows:
1. Any call from a package to itself is safe.
2. Packages claim that there won't be errors on calls to or from packages explicitly marked as safe by inclusion in @CARP_NOT, or (if that
array is empty) @ISA. The ability to override what @ISA says is new in 5.8.
3. The trust in item 2 is transitive. If A trusts B, and B trusts C, then A trusts C. So if you do not override @ISA with @CARP_NOT,
then this trust relationship is identical to, "inherits from".
4. Any call from an internal Perl module is safe. (Nothing keeps user modules from marking themselves as internal to Perl, but this prac-
tice is discouraged.)
5. Any call to Carp is safe. (This rule is what keeps it from reporting the error where you call carp/croak/shortmess.)
Forcing a Stack Trace
As a debugging aid, you can force Carp to treat a croak as a confess and a carp as a cluck across all modules. In other words, force a
detailed stack trace to be given. This can be very helpful when trying to understand why, or from where, a warning or error is being gen-
erated.
This feature is enabled by 'importing' the non-existent symbol 'verbose'. You would typically enable it by saying
perl -MCarp=verbose script.pl
or by including the string "MCarp=verbose" in the PERL5OPT environment variable.
BUGS
The Carp routines don't handle exception objects currently. If called with a first argument that is a reference, they simply call die() or
warn(), as appropriate.
perl v5.8.0 2002-06-01 Carp(3pm)