Sponsored Content
Full Discussion: device - > slot
Top Forums UNIX for Advanced & Expert Users device - > slot Post 34900 by Perderabo on Thursday 20th of March 2003 10:10:56 AM
 

8 More Discussions You Might Find Interesting

1. Programming

How to check number of first slot on the MO or TAPE device?

Hi, I need to discover is MO or Tape device counting slots begining on 0 or 1. THS (0 Replies)
Discussion started by: HrnjicaMujo
0 Replies

2. UNIX for Dummies Questions & Answers

bad pci slot?

Hi, im having a problem installing my pci wireless card. Im using knoppix, but my problem is with the mobo i think. im using an older laptop, toshiba satellite 2540 and when i plug in the card i get lights on sometimes. this means its getting power right. so then to install the card into the... (0 Replies)
Discussion started by: jestra
0 Replies

3. UNIX for Advanced & Expert Users

d1000 or minipac with six disk slot

Hi All, Is there anyway two nodes can share D1000 or minipack with 6 disk slots. Right now I have minipacks and I am connecting to Sunblade 100 and Sunbladew 150 separately. I would like to connect two systems to one minipack and able see the all the disks on both systems. I do have D1000... (0 Replies)
Discussion started by: sriny
0 Replies

4. Solaris

How to change boot slot X4100?

Hi everyone, I have a problem which looks like very simple. My SunFire X4100 have 2 disk slots: HDD0, HDD1 and 1 hard disk. I installed OS on the hard disk at HDD0 and now i want to boot it at HDD1. When i change BIOS and begin boot at HDD1 it reset after i chose Solaris 10 at OS selecting... (3 Replies)
Discussion started by: tien86
3 Replies

5. Solaris

AGP slot in my server ?

hi all, i have a sunfire v440 server , someone can tell me if this server contains a AGP slots ? thanx (4 Replies)
Discussion started by: lid-j-one
4 Replies

6. Filesystems, Disks and Memory

cantidad de slot de memoria

Alguien me puede ayudar, necesito saber cuantos slot de memoria disponibles tiene un RS/6000 AIX (1 Reply)
Discussion started by: ivan.estay
1 Replies

7. Programming

How to register ISR for PCI slot???

how to register callback function in unix?? (0 Replies)
Discussion started by: powyama
0 Replies

8. UNIX for Advanced & Expert Users

how to register ISR for PCI slot???

:wall::wall::wall:how to register ISR for PCI slot using callback registery (in c programing) i am using fedora 10 os.:wall::wall::wall::wall::wall: (0 Replies)
Discussion started by: powyama
0 Replies
Template::Plugin::URL(3)				User Contributed Perl Documentation				  Template::Plugin::URL(3)

NAME
Template::Plugin::URL - Plugin to construct complex URLs SYNOPSIS
[% USE url('/cgi-bin/foo.pl') %] [% url(debug = 1, id = 123) %] # ==> /cgi/bin/foo.pl?debug=1&id=123 [% USE mycgi = url('/cgi-bin/bar.pl', mode='browse', debug=1) %] [% mycgi %] # ==> /cgi/bin/bar.pl?mode=browse&debug=1 [% mycgi(mode='submit') %] # ==> /cgi/bin/bar.pl?mode=submit&debug=1 [% mycgi(debug='d2 p0', id='D4-2k[4]') %] # ==> /cgi-bin/bar.pl?mode=browse&debug=d2%20p0&id=D4-2k%5B4%5D DESCRIPTION
The "URL" plugin can be used to construct complex URLs from a base stem and a hash array of additional query parameters. The constructor should be passed a base URL and optionally, a hash array reference of default parameters and values. Used from with a template, it would look something like the following: [% USE url('http://www.somewhere.com/cgi-bin/foo.pl') %] [% USE url('/cgi-bin/bar.pl', mode='browse') %] [% USE url('/cgi-bin/baz.pl', mode='browse', debug=1) %] When the plugin is then called without any arguments, the default base and parameters are returned as a formatted query string. [% url %] For the above three examples, these will produce the following outputs: http://www.somewhere.com/cgi-bin/foo.pl /cgi-bin/bar.pl?mode=browse /cgi-bin/baz.pl?mode=browse&debug=1 Note that additional parameters are separated by '"&"' rather than simply '"&"'. This is the correct behaviour for HTML pages but is, unfortunately, incorrect when creating URLs that do not need to be encoded safely for HTML. This is likely to be corrected in a future version of the plugin (most probably with TT3). In the mean time, you can set $Template::Plugin::URL::JOINT to "&" to get the correct behaviour. Additional parameters may be also be specified to the URL: [% url(mode='submit', id='wiz') %] Which, for the same three examples, produces: http://www.somewhere.com/cgi-bin/foo.pl?mode=submit&id=wiz /cgi-bin/bar.pl?mode=browse&id=wiz /cgi-bin/baz.pl?mode=browse&debug=1&id=wiz A new base URL may also be specified as the first option: [% url('/cgi-bin/waz.pl', test=1) %] producing /cgi-bin/waz.pl?test=1 /cgi-bin/waz.pl?mode=browse&test=1 /cgi-bin/waz.pl?mode=browse&debug=1&test=1 The ordering of the parameters is non-deterministic due to fact that Perl's hashes themselves are unordered. This isn't a problem as the ordering of CGI parameters is insignificant (to the best of my knowledge). All values will be properly escaped thanks to some code borrowed from Lincoln Stein's "CGI" module. e.g. [% USE url('/cgi-bin/woz.pl') %] [% url(name="Elrich von Benjy d'Weiro") %] Here the spaces and ""'"" character are escaped in the output: /cgi-bin/woz.pl?name=Elrich%20von%20Benjy%20d%27Weiro An alternate name may be provided for the plugin at construction time as per regular Template Toolkit syntax. [% USE mycgi = url('cgi-bin/min.pl') %] [% mycgi(debug=1) %] AUTHOR
Andy Wardley <abw@wardley.org> <http://wardley.org/> COPYRIGHT
Copyright (C) 1996-2007 Andy Wardley. All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
Template::Plugin perl v5.12.1 2008-11-13 Template::Plugin::URL(3)
All times are GMT -4. The time now is 05:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy