8 More Discussions You Might Find Interesting
1. Programming
Hello gurus,
I have data in one of the oracle tables as as below:
Column 1 Column 2
1 NY,NJ,CA
2 US,UK,
3 AS,EU,NA
fyi, Column 2 above has data delimited with a comma as shown.
I need a sql query the produce the below output in two columns... (5 Replies)
Discussion started by: calredd
5 Replies
2. Web Development
Hi
i would like to grant access specific to one uri and rest of them should be denied.
as follows:
http://websitename/example user should be able to access
htttp://websitename/other user should be denied (1 Reply)
Discussion started by: raghur77
1 Replies
3. UNIX for Advanced & Expert Users
I encounter frequently a problem when installing Perl modules as follows:
perl -MCPAN -e 'install Family::Module'
The error message is:
Proxy must be specified as absolute URI; ' ' is not at /usr/local/lib/perl5/5.8.8/CPAN.pm line 2357
even though I am not behind a proxy. Forcing to install the... (4 Replies)
Discussion started by: figaro
4 Replies
4. UNIX for Dummies Questions & Answers
This is basically what I want to do:
I have a file that contains single lines of IDs.
I want to query the oracle database using these IDs
to get a count of which ones match a certain condition.
the basic idea is:
cat myfile |
while read id
do
$id in select count(PC.ptcpnt_id)
from... (4 Replies)
Discussion started by: whoknows
4 Replies
5. Shell Programming and Scripting
It really to make for Russian?
from "тест" to "%D1%82%D0%B5%D1%81%D1%82" (1 Reply)
Discussion started by: Trump
1 Replies
6. Shell Programming and Scripting
Hi,
I have a shell script that returns 10 records for the column Name and age from a select query. Where when i store those data in retrieve_list.txt file i need to store the data in a particular format like:-
$Jason$30
$Bill$23
$Roshan$25
Here is my script:
1)... (15 Replies)
Discussion started by: sachin.tendulka
15 Replies
7. Debian
Hi gurus,
I would like to migrate our windows print server to a debian linux but im newbie and i dont understand. when i try to add printer into Cups im going to localhost:631 and adding printers but i see this URI devices and i dont know how to deal with them? my test scenario is like this:
A... (0 Replies)
Discussion started by: saveka
0 Replies
8. Shell Programming and Scripting
Here's is an example of what I want to do:
var1="Horse "
var2="Cat "
var3="Fish "
for animals in "$var1" "$var2" "$var3"
do
set $animals
pet=$1
## Ok, now I want to get the values of $pet, but
## I want to retain the full length it was... (3 Replies)
Discussion started by: app4dxh
3 Replies
Template::Plugin::Clickable(3pm) User Contributed Perl Documentation Template::Plugin::Clickable(3pm)
NAME
Template::Plugin::Clickable - Make URLs clickable in HTML
SYNOPSIS
[% USE Clickable %]
[% FILTER clickable %]
URL is http://www.tt2.org/
[% END %]
this will become:
URL is <a href="http://www.tt2.org/">http://www.tt2.org/</a>
DESCRIPTION
Template::Plugin::Clickable is a plugin for TT, which allows you to filter HTMLs clickable.
OPTIONS
target
[% FILTER clickable target => '_blank' %]
[% message.body | html %]
[% END %]
"target" option enables you to set target attribute in A links. none by default.
finder_class
"finder_class" option enables you to set other URI finder class rather than URI::Find (default). For example,
[% FILTER clickable finder_class => 'URI::Find::Schemeless' %]
Visit www.example.com/join right now!
[% END %]
this will become:
Visit <a href="http://www.example.com/join">www.example.com/join</a> right now!
NOTE
If you use this module with "html" filter, you should be careful not to break tags or brackets around the URLs. For example if you have a
following URL form,
<http://www.example.com/>
Clickable plugin will filter this into:
<a href="http://www.example.com/"><http://www.example.com/></a>
which is bad for HTML viewing. However, if you HTML filter them first and then clickable filter, you'll get:
<<a href="http://www.example.com/>">http://www.example.com/></a>;
which href part is wrong.
You'd better try Template::Plugin::TagRescue in this case.
[% USE Clickable -%]
[% USE TagRescue -%]
[% FILTER html_except_for('a') -%]
[% FILTER clickable -%]
<http://www.example.com/>
[%- END %]
[%- END %]
will give you the right format.
AUTHOR
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
Template, URI::Find, Template::Plugin::TagRescue
perl v5.8.8 2006-11-23 Template::Plugin::Clickable(3pm)