Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: solution wanted for break-on-spaces (w/specifics)

by kcott (Archbishop)
on Oct 24, 2021 at 05:00 UTC ( [id://11137935]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    
    ...
    
        is_deeply($got, $exp, qq{<$raw_str>: } . join('|', @$exp));
    }
    
  2. or download this
    $ ./pm_11137926_str_parse.pl
    1..13
    ...
    ok 11 - <This 'is not unnice.'>: This|'is not unnice.'
    ok 12 - <This "is not unnice.">: This|"is not unnice."
    ok 13 - <a "bb cc" d>: a|"bb cc"|d
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11137935]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (8)
As of 2024-04-18 08:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found