|< 1 2 >| | 20 Einträge, 2 Seiten |
$adr = "SCALAR<0x603b37>";
my $addr = "SCALAR(0x2262f4)";
Quotedas müssen doch rundeklammern sein
Quote... storable ...
QuoteAber wie komme ich an den Inhalt, wenn ich nur die Adresse 0x603b37, jedoch keine Referenz darauf habe?!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
sub FT_OpenPM{
my ( $self, $devNum ) = @_;
my $status = $self->{'FT_STATUS'};
my $handle = $self->{'FT_HANDLE'};
#import function
my $fct_open = new Win32::API( 'FTD2XX', 'FT_Open', 'IP', 'I' );
unless( $fct_open ){
print("FT_Open not found!\n");
return 0;
}
#call imported function
$status = $fct_open->Call( $devNum, $handle );
$handle =~ s/\0.*$//;
#$handle = Storable::retrieve( $handle );
#return the functions return status and the handle
return ($status, $handle);
Quotecan't open á;9: No such file or directory
Quotecan't open 14760761: No such file or directory
|< 1 2 >| | 20 Einträge, 2 Seiten |