01-13-2015
simply awesome and thank you for your help. Let me peck away and see what I am come up.
10 More Discussions You Might Find Interesting
1. Ubuntu
Hi,
My ubuntu flavor always create temporary files having filename followed by ~ on editing. For eg: if I am editing a file called "sip.c", automatically a temporary (bkup) file is getting created with the name "sip.c~". How to avoid this file creation? (7 Replies)
Discussion started by: royalibrahim
7 Replies
2. Shell Programming and Scripting
Hi all,
In the script I am creating a temporary file with process id as temp.txt.$$
I want to remove this tomporary file first from the current directory when i'll run the same script next time.
Note: Every time when the script executes then it has unique process id and it'll create a... (5 Replies)
Discussion started by: varungupta
5 Replies
3. 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
4. Shell Programming and Scripting
Hi All,
I have a file like below, how can i insert one line after line 1 without using a temporary file in perl?
line 1
line 2
line 3
expected result
line 1
new line <---insert here
line 2
line 3 (2 Replies)
Discussion started by: summer_cherry
2 Replies
5. Shell Programming and Scripting
Ok in my bash script i have 5 options to create a simple html script. I need to create a temporary file and whatever the user types will be stored in that file using html codes. And then I have another option in which that temporary file will be moved to the public_html directory in which the user... (19 Replies)
Discussion started by: gangsta
19 Replies
6. UNIX for Dummies Questions & Answers
Hi ,
I am facing a problem with respect to mailx command in unix . Earlier it was working fine and I am facing this issue only from last week .
I used mailx command and I am getting a error message as follows :
temporary mail file: Permission denied
If I run mailx command from... (2 Replies)
Discussion started by: deepav1985
2 Replies
7. Shell Programming and Scripting
I want remove first line of the file without using any temporary file. Everything should be done in the original file itself since I don't any file creation access whereas I have modify access.
It would be great if somebody help in this regard ASAP .
Thanks in Advance.
Kishore:mad: (1 Reply)
Discussion started by: tvbhkishore
1 Replies
8. Shell Programming and Scripting
Hi-
How can I make the temporary file 0 byte , created inside gawk.
I am using
system("rm -f temp_orders");
It seems system command is deleting file permanently and I am not able to execute below statement.
print ORD_HEAD_FULL >> cFILE; (cFile is temp_orders) (2 Replies)
Discussion started by: ashish_kaithi
2 Replies
9. UNIX for Dummies Questions & Answers
How would I go about resolving this error
temporary mail message file: No such file or directory
Can anybody tell me where the default location is for the temporary mail message file is for mailx? It appears that it doesn't exist.
Thanks (1 Reply)
Discussion started by: joen
1 Replies
10. UNIX for Beginners Questions & Answers
Text in input file is like this
<title>
<band height="21" isSplitAllowed="true" >
<staticText>
<reportElement
x="1"
y="1"
width="313"
height="20"
key="staticText-1"/>
<box></box>
<textElement>
<font fontName="Arial" pdfFontName="Helvetica-Bold"... (4 Replies)
Discussion started by: aankita30
4 Replies
LEARN ABOUT DEBIAN
catalyst::plugin::subrequest
Catalyst::Plugin::SubRequest(3pm) User Contributed Perl Documentation Catalyst::Plugin::SubRequest(3pm)
NAME
Catalyst::Plugin::SubRequest - Make subrequests to actions in Catalyst
SYNOPSIS
use Catalyst 'SubRequest';
my $res_body = $c->subreq('/test/foo/bar', { template => 'magic.tt' });
my $res_body = $c->subreq( {
path => '/test/foo/bar',
body => $body
}, {
template => 'magic.tt'
});
# Get the full response object
my $res = $c->subreq_res('/test/foo/bar', {
template => 'mailz.tt'
}, {
param1 => 23
});
$c->log->warn( $res->content_type );
DESCRIPTION
Make subrequests to actions in Catalyst. Uses the catalyst dispatcher, so it will work like an external url call. Methods are provided
both to get the body of the response and the full response (Catalyst::Response) object.
METHODS
subreq [path as string or hash ref], [stash as hash ref], [parameters as hash ref]
subrequest
sub_request
Takes a full path to a path you'd like to dispatch to.
If the path is passed as a hash ref then it can include body, action, match and path.
An optional second argument as hashref can contain data to put into the stash of the subrequest.
An optional third argument as hashref can contain data to pass as parameters to the subrequest.
Returns the body of the response.
subreq_res [path as string or hash ref], [stash as hash ref], [parameters as hash ref]
subrequest_response
sub_request_response
Like "sub_request()", but returns a full Catalyst::Response object.
SEE ALSO
Catalyst.
AUTHORS
Marcus Ramberg, "mramberg@cpan.org"
Tomas Doran (t0m) "bobtfish@bobtfish.net"
MAINTAINERS
Eden Cardim (edenc) "eden@insoli.de"
THANK YOU
SRI, for writing the awesome Catalyst framework
MIYAGAWA, for writing the awesome Plack toolkit
COPYRIGHT
Copyright (c) 2005 - 2011 the Catalyst::Plugin::SubRequest "AUTHORS" as listed above.
LICENSE
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-06-20 Catalyst::Plugin::SubRequest(3pm)