Thread Verzeichnispfade als Hash-Key (22 answers)
Opened by Jiep1963 at 2015-11-18 15:04

GwenDragon
 2015-11-19 10:59
#182981 #182981
User since
2005-01-17
14761 Artikel
Admin1
[Homepage]
user image
Schau selbst:
Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
12
use strict;
use warnings;

use 5.010;

my $pfad = '/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/blah/BO OOH.BAR';

my %hash = (
        $pfad => '123456FFCAFFEEDEADBEEF123456FFCAFFEEDEADBEEF123456FFCAFFEEDEADBEEF123456FFCAFFEEDEADBEEF123456FFCAFFEEDEADBEEF123456FFCAFFEEDEADBEEF123456FFCAFFEEDEADBEEF123456FFCAFFEEDEADBEEF123456FFCAFFEEDEADBEEF123456FFCAFFEEDEADBEEF123456FFCAFFEEDEADBEEF'
);

say for keys %hash;

ergibt:
/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/b lah/bl ah/blah/blah/BO OOH.BAR

View full thread Verzeichnispfade als Hash-Key