Skip navigation

Using statements and expressions

Using statements and expressions: Perl 5 Essential Training (2010)
Using statements and expressions: Perl 5 Essential Training (2010)

Join for an in-depth discussion in this video Using statements and expressions, part of Perl 5 Essential Training (2010).

Resume Transcript Auto-Scroll
Skill Level Intermediate
6h 54m
Duration
756,784
Views
Show More Show Less

Q: In the Chapter 9 movie "Matching classes of characters," the author states that \w and \W are used to match both any word character and whitespace. Is the same code used for both word matching and whitespace matching?

A: No. While \w and \W are used to match any word in a string, the correct code for whitespace matching is \s or \S.

Skills covered in this course
Developer Programming Languages Web Web Development Perl

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now