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
URI::Heuristic(3) User Contributed Perl Documentation URI::Heuristic(3)
NAME
uf_uristr - Expand URI using heuristics
SYNOPSIS
use URI::Heuristic qw(uf_uristr);
$u = uf_uristr("perl"); # http://www.perl.com
$u = uf_uristr("www.sol.no/sol"); # http://www.sol.no/sol
$u = uf_uristr("aas"); # http://www.aas.no
$u = uf_uristr("ftp.funet.fi"); # ftp://ftp.funet.fi
$u = uf_uristr("/etc/passwd"); # file:/etc/passwd
DESCRIPTION
This module provides functions that expand strings into real absolute URIs using some builtin heuristics. Strings that already represent
absolute URIs (i.e. start with a "scheme:" part) are never modified and are returned unchanged. The main use of these functions are to
allow abbreviated URIs similar to what many web browsers allow for URIs typed in by the user.
The following functions are provided:
uf_uristr($str)
The uf_uristr() function will try to make the string passed as argument into a proper absolute URI string. The "uf_" prefix stands for
"User Friendly". Under MacOS, it assumes that any string with a common URL scheme (http, ftp, etc.) is a URL rather than a local path.
So don't name your volumes after common URL schemes and expect uf_uristr() to construct valid file: URL's on those volumes for you,
because it won't.
uf_uri($str)
This functions work the same way as uf_uristr() but it will return a "URI" object.
ENVIRONMENT
If the hostname portion of a URI does not contain any dots, then certain qualified guesses will be made. These guesses are governed be the
following two environment variables.
COUNTRY This is the two letter country code (ISO 3166) for your location. If the domain name of your host ends with two letters, then it
is taken to be the default country. See also Locale::Country.
URL_GUESS_PATTERN
Contain a space separated list of URL patterns to try. The string "ACME" is for some reason used as a placeholder for the host
name in the URL provided. Example:
URL_GUESS_PATTERN="www.ACME.no www.ACME.se www.ACME.com"
export URL_GUESS_PATTERN
Specifying URL_GUESS_PATTERN disables any guessing rules based on country. An empty URL_GUESS_PATTERN disables any guessing that
involves host name lookups.
COPYRIGHT
Copyright 1997-1998, Gisle Aas
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.8.0 2002-01-16 URI::Heuristic(3)