I got a korean file from AS/400 machine and save it in a AIX Server (using ftp command).
The file is converting to CCSID 949 (korean character) and CCSID 13488 (unicode) respectively.
It is no problem to view 2 file by using F-Secure SSH Client (command more)from a window Xp (locale : Korean).... (0 Replies)
hello,
i have a question and i'll be appreciated if you can help me with this.
i have i folder let's say "users"
in this folder there are files (file1, file2, file2, etc) and in each file there is a number (lets say 4 in file1)
i want to display some thing like bellow
file1 4... (6 Replies)
hi, I m stuck at a point for more than 3days. My doubt is pretty simple..
I have a web page content in $content. ( got this by using LWP)..
Now I want to display the content matching a pattern.
I tried
if($content =~ m{<div class="abc">(.*?)</div>}s){
print $1;}
that will... (4 Replies)
Hi,
I am checking if a file exists or not and based on the result I am sending an email. The email part works fine but the content of the email comes in a single line and I am not able to display it in diferent lines.
if ; then
echo "Hi, \\n An exception exists in the process.... (3 Replies)
Hi Guys
I want to write a script which search mail with subject line and after that I want the mail content in a file
please help guys.
Thanks
Atul Singh (3 Replies)
Hell,
I want to grep certain word from file and display above 2 lines and after two lines.
Here is the content of sample file.
Mar 14, 2013 12:56:59 AM Agent.Agent SendTo
INFO: Connection to server:7041 - Credential Transmit Successesful
Mar 14, 2013 8:54:21 AM cgent SendTo
WARNING:... (7 Replies)
Am using the following grep to match a particular patter in grep.
grep xyz abc.txt
now while i run this command, if the pattern matched, am getting the line containing xyz
Output: xyz is doing some work
Now if i want the file name also along with my output, what should i do
Expected... (2 Replies)
Dear Gurus,
I'm in a strange situation, hence need some kind of advice or possible syntax to carry on.
let's say current time/date is 2013-12-18, 15:58:15
I got a file something like this, which keep getting updated with respect to time.
2013-12-18,... (4 Replies)
I have a shell script with 2 run time arguments. During the execution if i got any error, then it needs to redirected to a error file and in console. Also both error and output to be redirected to a log file.
Error output is getting copied to err file and getting displayed in console too. But... (2 Replies)
Discussion started by: sarathy_a35
2 Replies
LEARN ABOUT DEBIAN
mason::plugin::defer
Mason::Plugin::Defer(3pm) User Contributed Perl Documentation Mason::Plugin::Defer(3pm)NAME
Mason::Plugin::Defer - Defer computing parts of output until the end of the request
SYNOPSIS
<head>
<title><% $m->defer(sub { $m->page->title }) %></title>
% $.Defer {{
% my $content = join(", ", @{ $m->page->meta_content });
<meta name="description" content="<% $content %>">
% }}
<body>
...
DESCRIPTION
The defer feature allows sections of output to be deferred til the end of the request. You can set up multiple deferred code blocks which
will execute and insert themselves into the output stream at request end.
REQUEST METHOD
defer (code)
Returns a marker string that is unique and will not appear in normal output. At the end of the request, each marker string is replaced
with the output of its associated code. e.g.
<title><% $m->defer(sub { $m->page->title }) %></title>
FILTER
Defer
Applies "$m->defer" to the content block. e.g.
% $.Defer {{
% my $content = join(", ", @{ $m->page->meta_content });
<meta name="description" content="<% $content %>">
% }}
SEE ALSO
Mason
AUTHOR
Jonathan Swartz <swartz@pobox.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Jonathan Swartz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-05-02 Mason::Plugin::Defer(3pm)