Script Home
  • Custom templates in the Django framework filter method

    +Read more
    Author:zyq / Release:2015-9-14 / category:perl / crowd0 views time+ / Comments Off on Custom templates in the Django framework filter method /
    custom filters is one or two parameters of Python functions: The       (input) the value of the variable       The value of the parameter, can be a default value or completely blank , for example, the filter {{var | foo: "bar"}}, the filter will be introduce...
    Djangofilter
  • Perl basic array sorting method is introduced

    +Read more
    Author:zyq / Release:2015-9-14 / category:perl / crowd0 views time+ / Comments Off on Perl basic array sorting method is introduced /
    in this paper, we study how to use Perl to string or number to sort an array. Perl has a built-in function called sort undoubtedly can sort an array. Its simplest form is an array, it returns an array of elements, after sorting. @sorted=sort @ the original. based on ASCII ordering code is...
    sort an array
  • Perl captured in the warning message, abnormal information and log explanation

    +Read more
    Author:zyq / Release:2015-9-14 / category:perl / crowd0 views time+ / Comments Off on Perl captured in the warning message, abnormal information and log explanation /
    although advice in each Perl script and open the warning in the module, but you don't want to see the Perl users warning. on the one hand you want to use use warnings as your safety net in front of the code, on the other hand, usually warning appears on the screen. In most cases, customers don...
    captureunusualWarning
  • The About Perl

    +Read more
    Author:zyq / Release:2015-9-14 / category:perl / crowd0 views time+ / Comments Off on The About Perl /
    5px 5px strong, stable, mature, portability Perl 5 is a 26 years old, powerful functions, performance, rich programming language. Perl can run on more than 100 kinds of platforms, from portable devices to the mainframe. At the same time she also suitable for the prototype design and a wide...
  • The file operations of Perl study notes

    +Read more
    Author:zyq / Release:2015-9-14 / category:perl / crowd0 views time+ / Comments Off on The file operations of Perl study notes /
    Perl for file operations, with other similar language, but also is open, read and write operations. 1. Open the file #! C:/perl/bin/perl -wUtf8;Use strict;Use warnings;My $filename='test. TXT'; #or use absolute paths, such as: c:/perl/Learn/test. TXTIf (open (MYFILE, $filename) #MYFILE is a sig...
    file operations
  • Perl achieving high water line algorithm

    +Read more
    Author:zyq / Release:2015-9-14 / category:perl / crowd0 views time+ / Comments Off on Perl achieving high water line algorithm /
    "high water line" algorithm: after the floods, the last waves receded, highlighted in high water line will have seen the highest water level. See below under "high water line" algorithm used in Perl. #! The/usr/bin/perl;Utf8;Sub Max {My ($max_so_far)=shift @ _; #the first value in the array, te...
    algorithmhigh water linemultiple value comparison
  • Perl CPAN using introduction of study notes

    +Read more
    Author:zyq / Release:2015-9-14 / category:perl / crowd0 views time+ / Comments Off on Perl CPAN using introduction of study notes /
    CPAN (Comprehensive Perl Archive Network: the Comprehensive Perl Archive Network) is to find anything to do Perl at the center of the warehouse. It contains the wisdom from the entire Perl community collection: hundreds of thousands of Perl module and the script, the equivalent of several books ...
  • Perl graphical package management tool parts per million (PPM) learning to use notes

    +Read more
    Author:zyq / Release:2015-9-14 / category:perl / crowd0 views time+ / Comments Off on Perl graphical package management tool parts per million (PPM) learning to use notes /
    the PPM (Programmer 's Package Manager) is a graphical ActivePerl own management tool, with this tool, to upgrade, update, and remove Perl Package is very convenient. Only need to input the PPM or PPM GUI can open a graphical interface. After all use cpanm to install, you must also know to insta...

0Wide search 1Web Design 2Script 3Network Programming 4Database 5Operating system 6Network Security