Hello everyone,
this question is probably simple for you ppl but i am jus a beginner and still learing. i was wondering if someone could tell me that how does unix identify different program codes in it's environment.
for example, unix recognises this C code in the body of any script. how... (2 Replies)
Hi,
I have a IP address of the target machine.Is there is any way to find out whether it is a unix box or windows box without logging into it?.
Regs
Anand (5 Replies)
Hi Friends,
I need to have a command in Unix which output all teh records havingg junk characters in a file....
I know a command cat -tv <Filename> which opens the file and we can check for any junk character in it.
But my requirement is to fetch ONLY THOSE records having junk characters.... (6 Replies)
hi,
I have a requirement in that i need to process a input file
The problem is, the input file sometimes it is coming in dos mode and some times it is coming in unix mode
The script which i have written will process the file only if it is in unix mode and it is not processing if the file is in... (7 Replies)
Like many UNIX users, there is a small team that is connected to UNIX (under the same UNIX user) via putty from a Windows PC.
Is there a way, once under UNIX, to know the address of the originating computer or anything that can differentiate initial users ? (7 Replies)
Hi, I wanted to configure a mail system on my UNIX box.
For that I read a document Sun Internet Mail Server 3.5 Advanced Installation Guide: Contents which is actually quite useful document but I am not sure from where can I bring patch? Is this patch will come in any CD form which I need to run... (1 Reply)
I am a newbie to unix and appeared for an interview and was asked this question.
If i was working for a company as a support person on an application and has to monitor the logs how would i determine if there was outage by checking the logs and where would i search for the issue initially. and... (2 Replies)
Hi friends,
I hope you are all fine and doing well. First of all, let me say that I love Unix with passion. But I have one query in my mind that is bothering me. What should I do, Unix System Administration or Unix System Programmering. Could you please tell me the difference between the two. And... (3 Replies)
Hi All, Need an urgent help, I have a requirement to find long running unix processes.. I have tried the below commands, but not succeed. I need to arrange the unix processess in an order of elapsed time (high to low) that runs in a system.
For Eg:
Consider we have 3 processes,
Pid 1
pid 2... (5 Replies)
Hi All,
I have the below scenario in my environment
Developers used to copy file from windows to Linux box. Some time on the copied file developers miss to run the dos2unix utility. Because of this script gets failed during the execution. Most of the failures are due to the dos2unix format... (7 Replies)
Discussion started by: kalpeer
7 Replies
LEARN ABOUT DEBIAN
http::oai::response
HTTP::OAI::Response(3pm) User Contributed Perl Documentation HTTP::OAI::Response(3pm)NAME
HTTP::OAI::Response - An OAI response
DESCRIPTION
"HTTP::OAI::Response" inherits from HTTP::Response and supplies some utility methods for OAI.
METHODS
$r = new HTTP::OAI::Response([responseDate=>$rd][, requestURL=>$ru])
This constructor method returns a new HTTP::OAI::Response object. Optionally set the responseDate and requestURL.
Use $r->is_error to test whether the request was successful. In addition to the HTTP response codes, the following codes may be
returned:
600 - Error parsing XML or invalid OAI response
Use $r->message to obtain a human-readable error message.
$r->copy_from( $r )
Copies an HTTP::Response $r into this object.
$headers = $r->headers
Returns an HTTP::OAI::Headers object.
$errs = $r->errors([$err])
Returns and optionally adds to the OAI error list. Returns a reference to an array.
$rd = $r->responseDate( [$rd] )
Returns and optionally sets the response date.
$ru = $r->requestURL( [$ru] )
Returns and optionally sets the request URL.
$verb = $r->verb( [$verb] )
Returns and optionally sets the OAI verb.
$r->version
Return the version of the OAI protocol used by the remote site (protocolVersion is automatically changed by the underlying API).
$r->xslt( $url )
Set the stylesheet to use in a response.
NOTE - requestURI/request
Version 2.0 of OAI uses a "request" element to contain the client's request, rather than a URI. The OAI-PERL library automatically converts
from a URI into the appropriate request structure, and back again when harvesting.
The exception to this rule is for badVerb errors, where the arguments will not be available for conversion into a URI.
perl v5.12.4 2011-06-23 HTTP::OAI::Response(3pm)