Perl introductory applet analysis

高洛峰
Release: 2017-03-24 14:04:11
Original
1851 people have browsed it

This article introduces the analysis of Perl entry-level small program

#!/usr/bin/perl -w
#output the largest number from a file
$max_number = &max(3,5 . ; $max_sofar_number)
                                                                                                                                                                                                                                                                                                                                                                          ;

The above code is to calculate the maximum number of multiple numbers. It feels much simpler than the C writing method. It really condenses the essence..

The above is the detailed content of Perl introductory applet analysis. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template