Thread extract string (17 answers)
Opened by Graf Herschel at 2012-09-25 14:12

topeg
 2012-09-25 18:16
#162035 #162035
User since
2006-07-10
2611 Artikel
BenutzerIn

user image
Man muss nur ein neues Scheme für URI erzeugen:
Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
12
#! /usr/bin/perl
use strict;
use warnings;
use URI;

my $uri = URI->new("dvb://tv.mydomain.com:11300/rsat.ts");
print $uri->host;

# erzeuge neues URI Scheme
package URI::dvb;
use parent "URI::http";
1;

Last edited: 2012-09-25 18:20:21 +0200 (CEST)

View full thread extract string