I'm reviewing my homework and I am confused on a statement from my notes. If someone could explain what the tilde is doing as well as the s/\d that would be great.
@name = ("Name: Bruce Grade: 85", "Name: Jill Grade: 87");
@GradeA = map { $entry = $_; $entry = ~ s/\d{2,3}/A/; $entry} @GradeA;