7 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
daniel@daniel-laptop:/tmp$ perl test.pl
test.pl
daniel@daniel-laptop:/tmp$ cat test.pl
#!/usr/bin/perl -w
use strict;
print "$0\n";
daniel@daniel-laptop:/tmp$
1
2
3
4
5
6
7
8
9
10
11
C:\Perl\community>file.pl
$0: C:\Perl\community\file.pl
C:\Perl\community>more file.pl
#!/usr/bin/perl
use strict;
use warnings;
print '$0: ' , $0;
C:\Perl\community>
1
2
3
4
5
6
7
8
#!/usr/bin/perl
use strict;
use warnings;
use FindBin qw/$Script/;
print "Hello, my basename is $Script\n";
7 Einträge, 1 Seite |