> Well, as discussed briefly in an earlier thread, 
   > http:[EMAIL PROTECTED]/msg08514.html
   > if we allow ! in function names, we can distinguish between the normal
   > and in-place versions of functions without proliferating the number of
   > keywords.
   > 
   >     chomp! $string;                        # how chomp() currently works
   >     my $chomped_string = chomp $string;    # like your chomped() function

Or, rather than this over-excited syntax, perhaps we could distinguish
the pure function:

        chomp $string;          # return a chomped copy of $string

from the method:
        
        chomp $string: ;        # chomp the original $string
                                # a.k.a. $string.chomp;

Damian

Reply via email to