DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8298>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8298

default split of empty string should return empty list

           Summary: default split of empty string should return empty list
           Product: ORO
           Version: 2.0
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Main
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


List tokenList = new ArrayList();
new Perl5Util.split(tokenList,"");
if( 0 != 
tokenList.length())
   System.out.println("aiee!  this doesn't work like any perl I 
know!");


The javadoc on this is quite clear, and states that it should match the 
functionality of split(/\s+/,"") , which returns an empty list on all of the versions 
of perl I 
could find back to 5.003

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to