Sadık KILIÇ

Web Tabanlı Hafıza Yerleşimi

perl

perl module kurulumu

perl install module #perl -MCPAN -e shell cpan[1]> install Module_ismi#perl -MCPAN -e shell cpan[1]> install Module_ismi Net::SFTP modulunün kurulumu: [root@myhost ~]# /usr/local/bin/perl -MCPAN -e shell Terminal does not support AddHistory.   cpan shell — CPAN exploration and modules installation (v2.05) Enter ‘h’ for help.   cpan[1]> install Net::SFTP Reading ‘/root/.cpan/Metadata’ Database was generated on Thu, […]

, ,

Perl son kolona göre sıralama

$ more sadik.test a@b@c@2 a@b@5 a@b@c@d@3 a@b@c@1 a@b@c@4$ more sadik.test a@b@c@2 a@b@5 a@b@c@d@3 a@b@c@1 a@b@c@4 perl -e "print sort {(split ‘@’, \$a)[-1] <=> (split ‘@’, \$b)[-1]} <>" sadik.testperl -e "print sort {(split ‘@’, \$a)[-1] <=> (split ‘@’, \$b)[-1]} <>" sadik.test Output: $ perl -e "print sort {(split ‘@’, \$a)[-1] <=> (split ‘@’, \$b)[-1]} <>" sadik.test […]

,