Perl is a programming language commonly used for systems administration and web programming. One of Perl's fortes is string processing, as Perl was one of the first languages to include a fully featured regular expression engine. Regular expressions allow programmers to look for patterns in text. Fortunately, string manipulation in Perl is fairly simple and straightforward.
Instructions
- 1
Open the Notepad program after clicking the "Start" menu and navigating to the "Accessories" menu.
2Enter the following code:
$quux = "Stringy thingy goes here";
@baz = split(//, $quux);
3Save your code as "stringythingy.pl." Double-click it to run.