Δημοσιεύτηκε: 27 Ιούλ 2011, 22:23
Ορίστε ένα παραδειγμα σε perl:
https://github.com/medigeek/various-scr ... mirrors.pl
Διαβάζει την ιστοσελίδα https://launchpad.net/ubuntu/+cdmirrors και δίνει.. διαφοτερικό αποτέλεσμα
Και κάτι που δεν μπορούσα να κάνω με καμιά άλλη γλώσσα με τέτοια ευχέρεια:
https://github.com/medigeek/various-scr ... /grades.pl
https://github.com/medigeek/various-scr ... mirrors.pl
Διαβάζει την ιστοσελίδα https://launchpad.net/ubuntu/+cdmirrors και δίνει.. διαφοτερικό αποτέλεσμα
- Κώδικας: Επιλογή όλων
protocol="http" type="http" location="" link: http://ubuntu.cs.wisc.edu/pub/mirrors/linux/ubuntu/releases/
protocol="http" type="http" location="UZ" link: http://ubuntu.snet.uz/releases/
protocol="ftp" type="ftp" location="UZ" link: ftp://ubuntu.snet.uz/releases/
protocol="http" type="http" location="UZ" link: http://releases.ubuntu.uz/
protocol="http" type="http" location="" link: http://mirror-fpt-telecom.fpt.net/ubuntu-releases/
protocol="ftp" type="ftp" location="" link: ftp://mirror-fpt-telecom.fpt.net/ubuntu-releases/
protocol="http" type="http" location="VN" link: http://mirrors.digipower.vn/ubuntu/releases/
protocol="ftp" type="ftp" location="VN" link: ftp://mirrors.digipower.vn/ubuntu/releases/
protocol="rsync" type="rsync" location="VN" link: rsync://mirrors.digipower.vn/ubuntu/releases/
protocol="http" type="http" location="" link: http://zw.releases.ubuntu.com/
protocol="ftp" type="ftp" location="" link: ftp://zw.releases.ubuntu.com/
protocol="rsync" type="rsync" location="" link: rsync://zw.releases.ubuntu.com/ubuntu-release/
Και κάτι που δεν μπορούσα να κάνω με καμιά άλλη γλώσσα με τέτοια ευχέρεια:
https://github.com/medigeek/various-scr ... /grades.pl