2 Einträge, 1 Seite |
1
2
3
4
5
6
foreach (@ini) {
chomp($_);
$i++ if $_ =~ m/path/ig;
(undef,$startwith) = split("=", $_) if $_ =~ m/StartWithLastProfile/ig;
(undef,$profil) = split("=", $_) if $_ =~ m/path/ig;
}
1
2
3
4
5
6
foreach (@ini) {
chomp($_);
(undef,$startwith) = split("=", $_) if $_ =~ m/StartWithLastProfile/ig;
(undef,$profil) = split("=", $_) if $_ =~ m/path/ig;
$i++ if $_ =~ m/path/ig;
}
my $server = $ARGV[0] =~ m/Firefox/ig ? "K:\\persönlich\\mozilla\\firefox" : "K:\\persönlich\\mozilla\\thunderbird";
my $smth = $server =~ m/Firefox/ig ? "K:\\persönlich\\mozilla\\firefox" : "K:\\persönlich\\mozilla\\thunderbird";
my $other = $server =~ m/Firefox/ig ? "K:\\persönlich\\mozilla\\firefox" : "K:\\persönlich\\mozilla\\thunderbird";
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/perl
use strict;
use warnings;
my $string = "Test Firefox";
print "yes\n" if $string =~ /Firefox/;
print $&,"\n";
print "yes\n" if $string =~ /Gude/;
print $&,"\n";
1
2
3
4
5
6
foreach (@ini) {
chomp($_);
(undef,$startwith) = split("=", $_) if $_ =~ m/StartWithLastProfile/ig;
(undef,$profil) = split("=", $_) if $_ =~ m/path/i;
$i++ if $_ =~ m/path/i;
}
2 Einträge, 1 Seite |