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

Gast Graf Herschel
 2012-09-25 16:39
#162029 #162029
Das Problem liegt schon im Vorfeld.
Wenn ich einen stream vom tv.server will, benötige ich
Code: (dl )
$ perl -MURI -wle 'my $uri = URI->new("dvb://tv.mydomain.com:11300/rsat.ts"); print $uri->host;'

Funktioniert nicht, ich weiß nicht warum. Den host tv.mydomain.com benötige ich.
Code: (dl )
$ perl -MURI -wle 'my $uri = URI->new("ftp://tv.mydomain.com:11300/rsat.ts"); print $uri->host;'

Funktioniert, uri ist aber so nicht brauchbar.

Wenn ich diesen Fehler abfangen könnte (ich weiß leider nicht wie):
Can't locate object methode "host" via .....
Dann würde als nächster Schritt auch auch das $uri->scheme funktionieren.
Last edited: 2012-09-25 16:40:25 +0200 (CEST)

View full thread extract string