grep m{^[/!:]}, @imports
Anyone knows what m means here?
I don’t find any reference .
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Basically, if you need to use a
/inside a pattern, it’s easier to switch the pattern delimiters; but then you need to tell Perl you’re doing that, so you start the pattern withm./.../can also be writtenm/.../. Usingmalso means you can use balanced pairs{...},(...),[...],<...>(but not brackets from outside ASCII such as guillemots or the math brackets in Unicode).