News

A similar Perl pie command might change Windows (DOS) style line endings (carriage return, linefeed) to Unix style line endings (linefeed only) or to replace other bytes in a file whether the file is ...
There are a lot of really nice scripting languages available to Unix admins, but Perl is still one of my favorites for doing any work that involves regular expressions — any text that you can describe ...
A lot of information is available about individual files on a Unix system. For example, the ls -l command will display the permissions matrix and ls -i will display a file’s inode. But, if we want to ...
I write Perl programs that use the Windows shell command dir. The dir command is built into cmd.exe and there is no dir.exe in the System folder. My colleagues use my Perl programs and some of them ...
There isn't anything specifically to do with perl dbi that will do it. You have to use a DB-specific query to get it. In MySQL, you'd run the query "SELECT LAST_INSERT_ID()" (maybe without the (). I ...