06-24-2006
Thanks Jim.
Its not what i meant but it help me .
Thanks Again.
10 More Discussions You Might Find Interesting
1. IP Networking
I'm sittig behind a firewall that doesn't allow ftp. I have a conection to a UNIX system, connecting throug SSH. Is it possible to redirect the ftp through the UNIX to my computer? (1 Reply)
Discussion started by: <Therapy>
1 Replies
2. UNIX for Advanced & Expert Users
I have two UX servers ( eg. Server A , Server B ) , the users use Netterm as emulator to telnet to connect to these servers , each server have assigned a dedicated IP address ( eg. Server A --> 192.168.1.1 , Server B --> 192.168.1.2 ) , now if a user want to connect Server A , he need to telnet to... (1 Reply)
Discussion started by: ust
1 Replies
3. UNIX for Dummies Questions & Answers
I have a program that is sending error text to the console and I need to redirect that output to a log file. I'm brand new to Unix and don't know how to do this. Any direction would be greatly appreciated. (1 Reply)
Discussion started by: ndemos
1 Replies
4. UNIX for Dummies Questions & Answers
I'm having some space issues on one of my UNIX systems. How can I redirect a folder on one volume to a folder on another volume with more space? (5 Replies)
Discussion started by: bbbngowc
5 Replies
5. Shell Programming and Scripting
hi,
i have 2 file of the same kind
file_old and file_new
there are few extra things added in new file
i want to make diff file_old file_new > file_update
( file_update are the new things added as compare to the old file )
i can i make it clearly . bcoz in diff it show all the... (8 Replies)
Discussion started by: mail2sant
8 Replies
6. UNIX for Dummies Questions & Answers
How can I redirect all stdout and stderr messages from a command to /dev/null (or to a file if need be) except messages that start with the word 'foo'? Messages that start with 'foo' need to be displayed in real time (i.e., when they are sent to stdout/stderr by the command). Thanks. (5 Replies)
Discussion started by: darwin_886
5 Replies
7. UNIX for Dummies Questions & Answers
Hi
I have a working sendmail setup for my domain, but would like to run a subdomain on another machine. I could try below, but its a production server and worry about messing it up. Hence the question.
So I have machine names:
mydomain.com (mail server)
dev.mydomain.com
currently the... (1 Reply)
Discussion started by: gtrava01
1 Replies
8. Shell Programming and Scripting
Hi,
I have perl script which is calling an external command using "system()" with argument.
But i am not able to capture the output.Even tried with backtick also with no luck.
.
.
$number=<>;
system ("cmd $number >output.txt"); (2 Replies)
Discussion started by: rasingraj
2 Replies
9. Web Development
Just want to give a background. Currently, our company web site is redesigned and there are about 200 current URLs will have new redirects. I don't want to enter them in the config file rather would like to have them in a text file/config file and referring the file from the config whenever the... (2 Replies)
Discussion started by: jawak
2 Replies
10. Web Development
I have the following directive in my .htaccess:
#RewriteRule ^mozrank/?$ "http://www.seobook.com/#a_aid=dh"
The problem is that the redirect is going to
http://www.seobook.com/%23a_aid=dh
How to preserve the # when redirecting? (2 Replies)
Discussion started by: rlopes
2 Replies
LEARN ABOUT DEBIAN
mojolicious::plugin::defaulthelpers
Mojolicious::Plugin::DefaultHelpers(3pm) User Contributed Perl Documentation Mojolicious::Plugin::DefaultHelpers(3pm)
NAME
Mojolicious::Plugin::DefaultHelpers - Default helpers plugin
SYNOPSIS
# Mojolicious
$self->plugin('DefaultHelpers');
# Mojolicious::Lite
plugin 'DefaultHelpers';
DESCRIPTION
Mojolicious::Plugin::DefaultHelpers is a collection of renderer helpers for Mojolicious.
This is a core plugin, that means it is always enabled and its code a good example for learning to build new plugins, you're welcome to
fork it.
HELPERS
Mojolicious::Plugin::DefaultHelpers implements the following helpers.
"app"
%= app->secret
Alias for "app" in Mojolicious::Controller.
"config"
%= config 'something'
Alias for "config" in Mojo.
"content"
%= content foo => begin
test
% end
%= content 'foo'
%= content
Store content and retrieve it.
"content_for"
% content_for foo => begin
test
% end
%= content_for 'foo'
Append content to named buffer and retrieve it.
% content_for message => begin
Hello
% end
% content_for message => begin
world!
% end
%= content_for 'message'
"current_route"
% if (current_route 'login') {
Welcome to Mojolicious!
% }
%= current_route
Check or get name of current route.
"dumper"
%= dumper {some => 'data'}
Dump a Perl data structure using Data::Dumper.
"extends"
% extends 'blue';
% extends 'blue', title => 'Blue!';
Extend a template, all arguments get merged into the stash.
"flash"
%= flash 'foo'
Alias for "flash" in Mojolicious::Controller.
"include"
%= include 'menubar'
%= include 'menubar', format => 'txt'
Include a partial template, all arguments get localized automatically and are only available in the partial template.
"layout"
% layout 'green';
% layout 'green', title => 'Green!';
Render this template with a layout, all arguments get merged into the stash.
"memorize"
%= memorize begin
%= time
% end
%= memorize {expires => time + 1} => begin
%= time
% end
%= memorize foo => begin
%= time
% end
%= memorize foo => {expires => time + 1} => begin
%= time
% end
Memorize block result in memory and prevent future execution.
"param"
%= param 'foo'
Alias for "param" in Mojolicious::Controller.
"session"
%= session 'foo'
Alias for "session" in Mojolicious::Controller.
"stash"
%= stash 'foo'
% stash foo => 'bar';
Alias for "stash" in Mojolicious::Controller.
"title"
% title 'Welcome!';
% title 'Welcome!', foo => 'bar';
%= title
Page title, all arguments get merged into the stash.
"url_for"
%= url_for 'named', controller => 'bar', action => 'baz'
Alias for "url_for" in Mojolicious::Controller.
"url_with"
%= url_with 'named', controller => 'bar', action => 'baz'
Does the same as "url_for", but inherits query parameters from the current request.
%= url_with->query([page => 2])
METHODS
Mojolicious::Plugin::DefaultHelpers inherits all methods from Mojolicious::Plugin and implements the following new ones.
"register"
$plugin->register($app);
Register helpers in Mojolicious application.
SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.
perl v5.14.2 2012-09-05 Mojolicious::Plugin::DefaultHelpers(3pm)