Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Modern Perl: The Book: The Draft

by atcroft (Monsignor)
on Jul 02, 2010 at 06:36 UTC ( #847673=note: print w/replies, xml ) Need Help??

in reply to Modern Perl: The Book: The Draft

In Chapter 03, under the header "Names", you have a comment block regarding rearranging the following two sections. If one of those is the one on the utf8 pragma, then may I humbly suggest moving that section into the section above the examples, such as (emphasis added for change clarity):

Names (or identifiers) are everywhere in Perl programs: variables, functions, packages, classes, and even filehandles have names. These names all start with a letter or an underscore. They may optionally include any combination of letters, numbers, and underscores. When the utf8 pragma (Pragmas, Unicode and Strings) is in effect, you may use any valid UTF-8 characters in identifiers, provided that they still start with a letter or underscore and optionally contain one or more alphanumeric or underscore characters. These are all valid Perl identifiers:

This would also optionally allow you to provide an example of a UTF-8 character in a variable, if you so desired.

Still reading, but looks impressive so far. I hope to have the time to dig further, and to pick it up when it comes out in dead-tree form.


Replies are listed 'Best First'.
Re^2: Modern Perl: The Book: The Draft
by chromatic (Archbishop) on Jul 24, 2010 at 23:07 UTC

    Thanks for the suggestion. I've integrated it into that section. How would you like me to credit you in CREDITS?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://847673]
[tye]: okay, I know that Unix tracks the original login user (beyond "real UID"). What's a good way to get that in Perl?

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2017-06-23 18:35 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (554 votes). Check out past polls.