Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #57
Difficulty: Easy
In a Database Management System (DBMS), the content and the location of the data is defined by the meta data.
True or False?
Linux & Unix Commands - Search Man Pages

mojolicious::plugin::mount(3pm) [debian man page]

Mojolicious::Plugin::Mount(3pm) 			User Contributed Perl Documentation			   Mojolicious::Plugin::Mount(3pm)

NAME
Mojolicious::Plugin::Mount - Application mount plugin SYNOPSIS
# Mojolicious my $route = $self->plugin(Mount => {'/prefix' => '/home/sri/myapp.pl'}); # Mojolicious::Lite my $route = plugin Mount => {'/prefix' => '/home/sri/myapp.pl'}; # Adjust the generated route my $example = plugin Mount => {'/example' => '/home/sri/example.pl'}; $example->to(message => 'It works great!'); # Mount application with host plugin Mount => {'mojolicio.us' => '/home/sri/myapp.pl'}; # Host and path plugin Mount => {'mojolicio.us/myapp' => '/home/sri/myapp.pl'}; # Or even hosts with wildcard subdomains plugin Mount => {'*.mojolicio.us/myapp' => '/home/sri/myapp.pl'}; DESCRIPTION
Mojolicious::Plugin::Mount is a plugin that allows you to mount whole Mojolicious applications. The code of this plugin is a good example for learning to build new plugins, you're welcome to fork it. METHODS
Mojolicious::Plugin::Mount inherits all methods from Mojolicious::Plugin and implements the following new ones. "register" my $route = $plugin->register($app, $conf); Mount Mojolicious application. SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>. perl v5.14.2 2012-09-05 Mojolicious::Plugin::Mount(3pm)

Check Out this Related Man Page

Mojolicious::Plugin::EPRenderer(3pm)			User Contributed Perl Documentation		      Mojolicious::Plugin::EPRenderer(3pm)

NAME
Mojolicious::Plugin::EPRenderer - Embedded Perl renderer plugin SYNOPSIS
# Mojolicious $self->plugin('EPRenderer'); $self->plugin(EPRenderer => {name => 'foo'}); $self->plugin(EPRenderer => {template => {line_start => '.'}}); # Mojolicious::Lite plugin 'EPRenderer'; plugin EPRenderer => {name => 'foo'}; plugin EPRenderer => {template => {line_start => '.'}}; DESCRIPTION
Mojolicious::Plugin::EPRenderer is a renderer for "ep" templates. "ep" or "Embedded Perl" is a simple template format where you embed perl code into documents. It is based on Mojo::Template, but extends it with some convenient syntax sugar designed specifically for Mojolicious. It supports Mojolicious template helpers and exposes the stash directly as Perl variables. 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. OPTIONS
Mojolicious::Plugin::EPRenderer supports the following options. "name" # Mojolicious::Lite plugin EPRenderer => {name => 'foo'}; Handler name. "template" # Mojolicious::Lite plugin EPRenderer => {template => {line_start => '.'}}; Attribute values passed to Mojo::Template object used to render templates. METHODS
Mojolicious::Plugin::EPRenderer inherits all methods from Mojolicious::Plugin and implements the following new ones. "register" $plugin->register($app, $conf); Register renderer in Mojolicious application. SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>. perl v5.14.2 2012-09-05 Mojolicious::Plugin::EPRenderer(3pm)

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mount

Hey, need to mount the following below, and new ish to unix.. what is the process.. thanks :b: # format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c1t0d0 <SEAGATE-ST973401LC-0001 cyl 51057 alt 2 hd 4 sec 702> /pci@1d,700000/scsi@4/sd@0,0 (5 Replies)
Discussion started by: blb
5 Replies

2. SCO

Sco 5.06 How To Mount A 2nd Hdd Help Help!!!!

Hi guys, I have this problem , One of our client's hdd went down and we cannot boot up the machine , I've installed a new hdd with a fresh copy of SCO 5.0.6 same as the one in the old HDD, i think the data still good in the old HDD. My question!!! How can i access the data from the fresh... (4 Replies)
Discussion started by: josramon
4 Replies

3. UNIX for Dummies Questions & Answers

Trying to compile and looking for old libraries

I have been working to install gparted on Centos. Compiling gparted required a number of thing I didn't have, so I downloaded and comilied them as root. After a lot of frustration, I tried using a sript to do it in another directory and removed all of the previously compiled code which was in... (3 Replies)
Discussion started by: brownwrap
3 Replies

4. UNIX for Advanced & Expert Users

split command

./myapp | split -b 10m -d -a 1 - "myappLog" here split command is reading the input from the output of myapp and it will write the text in to file where in each file size is 10MB and it will create upto 10 files. I have observed split is flushing the data for every 4096 bytes. if my... (7 Replies)
Discussion started by: arv600
7 Replies

5. Shell Programming and Scripting

Shell script for Server Mount Point space check

Does anybody have anything I can use to help me out with this one? (4 Replies)
Discussion started by: lbone007
4 Replies

6. Solaris

Mount point expansion /app

Hi Guy's I have mount point called /app with size 10 GB from EMC SAN /dev/dsk/emcpower2g 9.6G 9.8M 9.5G 1% /app I have expanded the size from SAN level to be 20 GB But the mount point still is showing 10 GB Can anyone advice us how to can I expand the new space on /app... (4 Replies)
Discussion started by: roooooot
4 Replies

7. IP Networking

DIY build your own website server from home

Does anyone would know a good tutorial for someone with basic linux/unix knowledge in order to build and setup a home website server? 1) First: I would like a step by step practical how to, with an example, and a good introduction to more detailed theory. 2) Second : What is the best and more... (3 Replies)
Discussion started by: freddie50
3 Replies

8. HP-UX

[Solved] Mount HP-UX File System in Windows 7

Hello, We just got a rx4640 that is running on: HP-UX B.11.31 U ia64 2426088954 unlimited-user license There is a plenty of space in it and we would like to use it for storage. I can access with ftp and place the files in there but i need to mount the file system in every PC that is running... (7 Replies)
Discussion started by: gjk
7 Replies

9. Solaris

Mount /app on a new DISK

Hi folks, because of disk space problem my root is almost full..The root is mounted on rpool and i want to move /app on a new disk, is that possible without compromising any link?How can i do that? I use solaris 10 Thank you in advance, Matt ---------- Post updated at 04:36 PM... (8 Replies)
Discussion started by: mattpunk
8 Replies

10. Infrastructure Monitoring

Ops Center Enterprise Controller Mount Point layout

Hi Guys. I am about to install the Enterprise Controller of Ops Center. I need to know on a 200gb Hard drive what the best possible Mount point layout? I know that /var is suposed to be around 100gb and swap size should be around 6gb ? What about /opt , /tmp and other mount point sizes? ... (5 Replies)
Discussion started by: Junaid Subhani
5 Replies

11. Shell Programming and Scripting

Delete lines starting with these strings

Platform : RHEL 5.8 I have text file called myapplication.log . In this file, I have around 800 lines which start with the followng three strings PWRBRKER-3493 PWRBRKER-7834 SCHEDULER-ERROR How can I delete these lines in one go ? (13 Replies)
Discussion started by: omega3
13 Replies

12. OS X (Apple)

Mount my volume on remote machine

I have the need to Mount one of my volumes (All machines are mac) onto all of the machines in the lab from time to time. At the moment I'm using SSH to tunnel into each machine and then send a command to the remote machine to mount my volume using AFP. This seems convoluted to me. Is there a... (3 Replies)
Discussion started by: TheDrizzle
3 Replies

13. UNIX for Beginners Questions & Answers

Mount point bind issues

Hi ALL I am unable to do mount bind to connect new storage Once I run the below commands both file systems were empty Code: mount --bind /prod/OpenCSS /var/lib/test Code: echo "/prod/OpenCSS /var/lib/pgsql bind bind 0 0" >> /etc/fstab Please use code tags for code and data (9 Replies)
Discussion started by: anil529
9 Replies

14. UNIX for Advanced & Expert Users

Mount Point goes into a very strange state.

Hi Guys, This one has got me completely baffled and after some fairly lengthy searching online and in the forum, I think I should share this with you - after all someone is bound to have seen this? So the story so far, I've built a couple of RHEL 7.5 servers, these are HP DL360 G10's with two... (4 Replies)
Discussion started by: gull04
4 Replies

Featured Tech Videos