- or download this
OPEN 51:("FOOBAR":"W") ELSE GOTO FAILED
USE 51:("FOOBAR":"W")
WRITE "HELLO WORLD"
USE 0
CLOSE 51
- or download this
O 51:("FOOBAR":"W") E G FAILED
U 51:("FOOBAR":"W") W "HELLO WORLD" U 0 C 51
- or download this
open HANDLE,'>','FOOBAR' or die;
select HANDLE;
print "HELLO WORLD";
select STDOUT;
close HANDLE;
- or download this
for my $key (sort keys %hash) {
print $key,"\n";
}
- or download this
SET KEY="" FOR SET KEY=$ORDER(^HASH(KEY)) QUIT:KEY="" D
.WRITE ^HASH(KEY),!
- or download this
S KEY="" F S KEY=$O(^HASH(KEY)) Q:KEY="" D
.W ^HASH(KEY),!
- or download this
my $key='';
while (($key=nextkey(\%hash,$key)) ne '') {
print $hash{$key},"\n";
}