Thread windows attrib mit perl?
(40 answers)
Opened by bianca at 2009-10-10 12:31 Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 10 11 #!/usr/bin/perl -w use strict; use warnings; local *ARCHIVE; eval { require Win32::File; }; if (!$@) { Win32::File->import('ARCHIVE'); my $test = Win32::File::GetAttributes ("eval.pl",ARCHIVE); print "test: >$test<\n"; } else { print "Schrott: >$@<\n" } Ausgabe: Quote Reicht local *ARCHIVE nicht? 10 print "Hallo"
20 goto 10 |