Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Help to develop a new application Post 302408617 by zaxxon on Tuesday 30th of March 2010 05:09:43 AM
Old 03-30-2010
Develop something nobody did before or try to "copy" something that already exists.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

develop a new kernel

Hi people, I am trying to install a second kernel on my Red Hat 8.0 machine. the existing kernel is 2.4.18 and I am trying to have 2.4.20. I already downloaded the source extracted it run make , make dep and make bzImage . Now when trying to copy the installed kernel image from /usr/src to... (4 Replies)
Discussion started by: bashirpopal
4 Replies

2. UNIX for Dummies Questions & Answers

unix develop environment

hi! i am Carlos i study @ UABC (Autonomy University of Baja California)... i have a final project.... i need to make a presentation of the new... unix develop environment... but... i have some problems with that.... could you tell me something to help me? (0 Replies)
Discussion started by: Nx GT-R
0 Replies

3. Shell Programming and Scripting

Develop 2 IPC System Calls

I need to develop 2 IPC system calls. 1) The first one allows sender to send a message to set of receivers in a single call. 2) The second one allows receiver to receives all message that have been sent to it in a single call Please help me in developing this system calls ....atleast how... (1 Reply)
Discussion started by: Anki
1 Replies

4. HP-UX

how could find HP UX application develop library

if I would like to develop application on HP UX ,where can I serarch the library and API ,like develop windows application with MSDN thanks (1 Reply)
Discussion started by: alert0919
1 Replies

5. Shell Programming and Scripting

Develop Program with 'None Interactive Flag'

Hi I have created a program but am currently wondering how to develop it further. I wanted to know how i would go about developing the program further so that it is able to run with a "none interactive flag" enabling execution to be automated with the resultant file e-mailed to a user once a week.... (1 Reply)
Discussion started by: warlock129
1 Replies

6. Programming

Please help me to develop algorithm

Hi guys , in my study book from which I re-learn C is task to generate all possible characters combination from numbers entered by the user. I know this algorithm must use combinatorics to calculate all permutations. Problem is how to implement algortihm. // This program reads the four numbers... (0 Replies)
Discussion started by: solaris_user
0 Replies

7. Shell Programming and Scripting

Help to Develop a LINUX macro?

Hi Experts, i would like to get your help to do some development to the below linux commands which i run under .cmd file in windows @echo off call f:\linuxutils\grep.exe "T11" f:\blocked_ranges\dump3.txt|f:\linuxutils\grep.exe ",9647800"|f:\linuxutils\grep.exe... (3 Replies)
Discussion started by: mustafa.abdulsa
3 Replies

8. Shell Programming and Scripting

I would like to have some exercises to develop my skills

Hi , I would like to do some exercises/scripts in order to develop my skills in shell scripts, can someone pass me some links/suggestions where i can find this? Thanks a lot :) (3 Replies)
Discussion started by: prpkrk
3 Replies

9. UNIX for Dummies Questions & Answers

Guide me in the right direction to develop application for UNIX/Linux

Hi all, Am good in C & C++, i just joined as a fresher in a French IT company. In my own interest and love towards Linux and open source. i want to develop as much as applications for linux. i got the basic training on linux commands, and currently am working really hard to gain more... (11 Replies)
Discussion started by: mr_ganapathy
11 Replies
Plack::Middleware::HTTPExceptions(3pm)			User Contributed Perl Documentation		    Plack::Middleware::HTTPExceptions(3pm)

NAME
Plack::Middleware::HTTPExceptions - Catch HTTP exceptions SYNOPSIS
use HTTP::Exception; my $app = sub { # ... HTTP::Exception::500->throw; }; builder { enable "HTTPExceptions", rethrow => 1; $app; }; DESCRIPTION
Plack::Middleware::HTTPExceptions is a PSGI middleware component to catch exceptions from applications that can be translated into HTTP status codes. Your application is supposed to throw an object that implements a "code" method which returns the HTTP status code, such as 501 or 404. This middleware catches them and creates a valid response out of the code. If the "code" method returns a code that is not an HTTP redirect or error code (3xx, 4xx, or 5xx), the exception will be rethrown. The exception object may also implement "as_string" or overload stringification to represent the text of the error. The text defaults to the status message of the error code, such as Service Unavailable for 503. Finally, the exception object may implement "as_psgi", and the result of this will be returned directly as the PSGI response. If the code is in the 3xx range and the exception implements the 'location' method (HTTP::Exception::3xx does), the Location header will be set in the response, so you can do redirects this way. There are CPAN modules HTTP::Exception and HTTP::Throwable, and they are perfect to throw from your application to let this middleware catch and display, but you can also implement your own exception class to throw. If the thrown exception is not an object that implements either a "code" or an "as_psgi" method, a 500 error will be returned. Alternatively, you can pass a true value for the "rethrow" parameter for this middleware, and the exception will instead be rethrown. This is enabled by default when "PLACK_ENV" is set to "development", so that the StackTrace middleware can catch it instead. AUTHOR
Tatsuhiko Miyagawa SEE ALSO
paste.httpexceptions HTTP::Exception HTTP::Throwable perl v5.14.2 2011-06-22 Plack::Middleware::HTTPExceptions(3pm)
All times are GMT -4. The time now is 01:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy