-
Notifications
You must be signed in to change notification settings - Fork 576
Documentation for split uses single quotes for PATTERN parameter #14802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
From [email protected]This is a bug report for perl from the.rob.dixon@gmail.com, The contents of `perlfunc` relating to `split` uses single quotes I suggest that this is contrary to currently-favoured best practice, There are solid reasons why this is the preferred form: - The PATTERN behaves as a regular expression, so '.' will match any - A single literal space ' ' is different from a regular expression - The PATTERN is processed again as a regular expression, so one may Flags: Site configuration information for perl 5.22.0: Configured by strawberry-perl at Mon Jun 1 20:06:45 2015. Summary of my perl5 (revision 5 version 22 subversion 0) configuration: Platform: @INC for perl 5.22.0: Environment for perl 5.22.0: |
From @jkeenanOn Mon Jul 13 05:09:40 2015, the.rob.dixon@gmail.com wrote:
Would you be willing and able to supply a patch which implements your recommendation? If so, please attach it to this RT or to an email response. Thank you very much.
-- |
The RT System itself - Status changed from 'new' to 'open' |
I searched in perlfunc from blead just now, and the only occurrences of a non slash delimiter are in fact for the special case of a single space |
Migrated from rt.perl.org#125605 (status was 'open')
Searchable as RT125605$
The text was updated successfully, but these errors were encountered: