Code Examples tar. Buy This Book: Amazon. Perl is a well-established programming language that has been developed through the time and effort of countless free software programmers into an immensely powerful tool that can be used on pratically every operating system in the world. Perl started out as the "Swiss army knife" of computer languages and was used primarily by system administrators, but over time it's grown into an immensely robust language used by web-developers and programmers worldwide. It's also a great way to learn programming techniques and develop your own style of coding. We'll take you from installation, through the core language elements - regular expressions, references, modules and the like - and onto basic applied techniques.
A filehandle is a variable that is used to read and write to a file. This filehandle gets associated with the file. Otherwise a new file will be created and content will be added. Syntax: print filehandle string. Here, filehandle is associated to the file at the time of opening the file and string holds the content to be written to the file.
Test2 is a new testing framework produced by forking Test::Builder , completely refactoring it, adding many new features and capabilities. From the beginning Test2 was built with introspection capabilities. With Test::Builder it was difficult at best to capture test tool output for verification.