Thread Regex (3 answers)
Opened by GloBoX at 2005-05-26 20:42

Dubu
 2005-05-26 21:21
#55145 #55145
User since
2003-08-04
2145 Artikel
ModeratorIn + EditorIn

user image
Und uebrigens - es gibt auch Module, mit denen man URIs zerpfluecken kann:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl
use strict;
use warnings;
use URI;

my $uri = URI->new('ftp://asdf:bsfsf@127.0.0.1:21');

print "Scheme:   ", $uri->scheme(),
   "\nUser:     ", $uri->user(),
   "\nPassword: ", $uri->password(),
   "\nHost:     ", $uri->host(),
   "\nPort:     ", $uri->port(),
   "\nPath:     ", $uri->path(),
"\n";

View full thread Regex