autaya.blogg.se

Splitprint
Splitprint











Understanding recursive subroutines - traversing a directory tree.Returning multiple values or a list from a subroutine in Perl.Variable number of parameters in Perl subroutines.Passing multiple parameters to a function in Perl.

splitprint

  • Loop controls: next, last, continue, break.
  • Reverse Polish Calculator in Perl using a stack.
  • Manipulating Perl arrays: shift, unshift, push, pop.
  • Reading from a file in scalar and list context.
  • Scalar and List context in Perl, the size of an array.
  • Perl split - to cut up a string into pieces.
  • Advanced usage of Getopt::Long for accepting command line arguments.
  • #Splitprint how to#

  • How to process command line arguments in Perl using Getopt::Long.
  • Processing command line arguments - in Perl.
  • slurp mode - reading a file in one step.
  • seek - move the position in the filehandle in Perl.
  • Reading and writing binary files in Perl.
  • Standard output, standard error and command line redirection.
  • String functions: length, lc, uc, index, substr.
  • Here documents, or how to create multi-line strings in Perl.
  • Strings in Perl: quoted, interpolated and escaped.
  • undef, the initial value and the defined function of Perl.
  • String operators: concatenation (.), repetition (x).
  • Conditional statements, using if, else, elsif in Perl.
  • splitprint

    Automatic string to number conversion or casting in Perl.Prompt, read from STDIN, read from the keyboard in Perl.Common Warnings and Error messages in Perl.Core Perl documentation and CPAN module documentation.

    splitprint

    The Hash-bang line, or how to make a Perl scripts executable on Linux.Installing and getting started with Perl.











    Splitprint