Tutoring programming, you encounter all kinds of instances. The tutor mentions, with Perl, incrementing a counter variable in a for loop by a decimal amount. Can you increment a counter variable by a decimal amount? In my experience, with Perl, …

Perl programming: can you increment a counter variable by a decimal? Read more »

Tutoring computer science, character operations with ASCII surface. The tutor mentions Perl’s chr() function. The common English characters one might imagine all have ASCII codes. Tab is 9, Newline is 10, Space is 32, and from 33 to 126 are …

Computer science: Perl programming: chr() function Read more »

The tutor offers a few points of clarification. In yesterday’s post I showed a Perl program, called from the command line with the input value, to find the cube root of a number. Here are some points to help a …

Perl: some explanation of yesterday’s command-line cube root program Read more »

The tutor shows off some of Perl’s pattern matching (aka regex) talents. Let’s imagine you have a laptop you share with a friend for project work. They’re not million-dollar secrets you’re keeping, but on the other hand, you don’t want …

Perl: a password (sort of) using regular expression (regex) power Read more »