Perl in a Nutshell
Version August 7, 2024
by
Thorsten Kracht
- Contents
- List of Figures
- Introduction
- Miscellaneous
- Variables
- Operators
- Control Statements
- Regular Expressions
- File I/O, File Handles
- Functions
- alarm
- BEGIN, END
- chdir, $ENV{PWD}
- chomp
- chr, ord, character conversion
- doty
- eval
- getpwuid
- grep
- isatty
- join
- length
- localtime
- map
- mkdir
- pack, unpack
- print, sprintf
- rand, srand
- rename
- require
- socket, connect, fcntl, select,
- sort
- sotd
- split
- stat, localtime
- substr
- System
- time
- times
- uc, lc, ucfirst, lcfirst, case conversion
- unlink
- Numeric functions
- Subroutines
- Packages, Modules
- Signal Handling
- Examples
- Perl Language Features
- OS Interface
- Executing shell commands, system()
- Remove many files, opendir()
- Convert ps files to png
- Rename files
- Replace blanks, ä, Ä, ö, etc. in file names
- Substitute strings in files, simple
- Substitute strings in source files
- Change the file protection, chmod()
- Kill processes, yesno(), kill()
- IO, Sockets, RS232, USB, ...
- Mirroring /dev/ttyS0, including the client
- Reading single keystrokes, cbreak mode
- Reading single keystrokes, POSIX::Termios
- Pinging a host, system(), ping()
- Serial line I/O, Elcomat, POSIX::Termios
- Serial line I/O, DMC, sysopen( $path, O_RDWR) , select()
- Serial line I/O, I404, BPM, sysopen( $path, O_RDWR) , select()
- USB, select(), POSIX::Termios, baudrates
- USB, I404
- Sockets, using Net::TCP (Not in SL6)
- Sockets, using IO::Socket::INET, TCP/IP
- Sockets, using IO::Socket::INET, UDP, P03, pump
- Sockets, using IO::Socket::INET for T95 Temperatur Controller
- Sockets, UDP mirror
- Raw Sockets, Spectra Client
- Sockets, SDD Server
- Sockets, Modbus Implementation, fd_select()
- JSON
- Bibliography
- Index
- About this document ...