Sponsored Content
Full Discussion: Perl Exception - $!,$?,$@
Top Forums Shell Programming and Scripting Perl Exception - $!,$?,$@ Post 302229459 by era on Wednesday 27th of August 2008 04:13:47 AM
Old 08-27-2008
Sorry, yes, you are right, I tested what I thought to be an analogous case here but my test was flawed.

It would be intriguing to find out which part of the code corresponds to "line 44" in the error message.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

exception handling

Does exception handling exist in any UNIX enviornment? I develop on Windows MSVC++ land and need to port to UNIX. (1 Reply)
Discussion started by: RichardS
1 Replies

2. UNIX for Advanced & Expert Users

RPC Exception - Help

Hi, I am trying to use swremove to remove some old software packages before an upgrade. I keep getting the same error below. I have restarted swagent, i have killed the swagent process and started it, and I have restarted the entire system. I have now run out of ideas. Anyone know what the problem... (0 Replies)
Discussion started by: ejbrever
0 Replies

3. HP-UX

Help with RPC Exception

Hi, I am trying to use swremove to remove some old software packages before an upgrade. I keep getting the same error below. I have restarted swagent, i have killed the swagent process and started it, and I have restarted the entire system. I have now run out of ideas. Anyone know what the problem... (2 Replies)
Discussion started by: ejbrever
2 Replies

4. UNIX for Dummies Questions & Answers

How to catch the exception

Dear friends, I am transferring some files to a windows system from Unix m/c thru FTP Script given below. echo "open $host quote USER $userid quote PASS $pwd $verbose $type cd $dir bin put $file close quit"|$ftp... (0 Replies)
Discussion started by: Vijayakumarpc
0 Replies

5. Linux

MMU exception

I hope to post in the right forum, otherwise I apologize for this. if a MMU exception is caused by a process which tries to access to other memory segment (out of its own address space) what the kernel does in this case ? maybe kernel kills the "bad" process ? (2 Replies)
Discussion started by: Puntino
2 Replies

6. Shell Programming and Scripting

Exception handling

Sometimes when I try to use curl to upload to an ftp server, I get the message: $curl -T file.wmv ftp.eu.filesonic.com --user user:password curl: (8) Got a 421 ftp-server response when 220 was expected How do I get the script to try again if I get the message curl: (8)? (2 Replies)
Discussion started by: locoroco
2 Replies

7. Programming

Exception Handling C++

Hello All, I have a question ....which I am totally confused about! If I have a fxn foo in a program which returns a logical value. But it has a posssiblity to throw some exception. Now my exception handler returns a value as a string stating why the exception occured. But my... (1 Reply)
Discussion started by: mind@work
1 Replies

8. Solaris

solaris 7 exception

Hi all, An application works well under 2.6 but under 7 it gives TEXT_IO exceptions. (Is_Open, Check_Is_Open, Get_Line procedures). Any idea? Regards (3 Replies)
Discussion started by: endoavour
3 Replies

9. Shell Programming and Scripting

Re: exception using AWK

I have following file: NAME=ora.DG1.svc TYPE=ora.service.type CARDINALITY_ID=1 TARGET=ONLINE STATE=ONLINE NAME=ora.orlene.DG2.svc TYPE=ora.service.type CARDINALITY_ID=1 TARGET=ONLINE STATE=OFFLINE NAME=ora.MN.acfs TYPE=ora.registry.acfs.type TARGET=ONLINE (4 Replies)
Discussion started by: rcc50886
4 Replies

10. Shell Programming and Scripting

Monitor logs for exception and if exception come then sent an email

Hi Folks, please advise , I have logs generated on unix machine at location /ops/opt/aaa/bvg.log , now sometimes there come exception in these logs also, so I want to write such a script such that it should continuously monitor these logs and whenever any exception comes that is it try to find... (3 Replies)
Discussion started by: tuntun27272727
3 Replies
Test::CheckChanges(3pm) 				User Contributed Perl Documentation				   Test::CheckChanges(3pm)

NAME
Test::CheckChanges - Check that the Changes file matches the distribution. VERSION
Version 0.14 SYNOPSIS
use Test::CheckChanges; ok_changes(); You can make the test optional with use Test::More; eval { require Test::CheckChanges }; if ($@) { plan skip_all => 'Test::CheckChanges required for testing the Changes file'; } ok_changes(); DESCRIPTION
This module checks that you Changes file has an entry for the current version of the Module being tested. The version information for the distribution being tested is taken out of the Build data, or if that is not found, out of the Makefile. It then attempts to open, in order, a file with the name Changes or CHANGES. The Changes file is then parsed for version numbers. If one and only one of the version numbers matches the test passes. Otherwise the test fails. A message with the current version is printed if the test passes, otherwise dialog messages are printed to help explain the failure. The examples directory contains examples of the different formats of Changes files that are recognized. FUNCTIONS
All functions listed below are exported to the calling namespace. ok_changes( ) The ok_changes method takes no arguments and returns no value. CHANGES FILE FORMAT
Currently this package parses 4 different types of "Changes" files. The first is the common, free style, "Changes" file where the version is first item on an unindented line: 0.01 Fri May 2 15:56:25 EDT 2008 - more info The second type of file parsed is the Module::Changes::YAML format changes file. The third type of file parsed has the version number proceeded by an * (asterisk). Revision history for Perl extension Foo::Bar * 1.00 Is this a bug or a feature The fourth type of file parsed starts the line with the word Version followed by the version number. Version 6.00 17.02.2008 + Oops. Fixed version number. '5.10' is less than '5.9'. I thought CPAN would handle this but apparently not.. There are examples of these Changes file in the examples directory. Create an RT if you need a different format file supported. If it is not horrid, I will add it. The Debian style "Changes" file will likely be the first new format added. BUGS
Please open an RT if you find a bug. <http://rt.cpan.org/Public/Dist/Display.html?Name=Test-CheckChanges> AUTHOR
"G. Allen Morris III" <gam3@gam3.net> COPYRIGHT &; LICENSE Copyright (C) 2008-2010 G. Allen Morris III, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2010-03-06 Test::CheckChanges(3pm)
All times are GMT -4. The time now is 06:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy