Perl Object-Oriented inheritance usage

Source: Internet
Author: User

Student information has two packages consisting of date and student_info.

The date information includes the structure and settings of the time information.

The Student_info itself contains the settings for the name, referencing the structure and settings of the time information in the date packet.

---# #date.pm

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/74/01/wKioL1YM95exNRBlAAEcmHcIOHg743.jpg "title=" 2015-10-01_170605.png "alt=" Wkiol1ym95exnrblaaecmhciohg743.jpg "/>

--student_info.pm

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/74/03/wKiom1YM98fyIM4XAAGi0uH1-00138.jpg "title=" 2015-10-01_170703.png "alt=" Wkiom1ym98fyim4xaagi0uh1-00138.jpg "/>

---#验证程序

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/74/01/wKioL1YM-IygJH3IAADXKQQQX_U244.jpg "title=" 2015-10-01_171011.png "alt=" Wkiol1ym-iygjh3iaadxkqqqx_u244.jpg "/>

--#验证结果展示

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/74/03/wKiom1YM-KzS3rUCAADZSwHKa6k324.jpg "title=" 2015-10-01_171056.png "alt=" Wkiom1ym-kzs3rucaadzswhka6k324.jpg "/>

This article is from the "Strive for Excellence" blog, please be sure to keep this source http://tiger506.blog.51cto.com/318536/1699775

Perl Object-Oriented inheritance usage

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.