Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Question: Capturing a repeated pattern

by rubasov (Friar)
on Apr 08, 2010 at 22:05 UTC ( #833647=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    my $str = 'somename   1000  0.24  280  2 2576.9  2731.9  12.0  4195.3'
    my @array = split /\s+/, $str;
  2. or download this
    die "invalid input format: '$str'"
      if $str !~ / \A [a-z]\w* (?: \s+ [\d.]+ ){8} \z /ixo;
    my @array = split /\s+/, $str;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://833647]
[Corion]: choroba: Yeah, maybe. I'm also unaware of who uses Email:: modules, but that's more my limited horizon of things ;)
[Corion]: Ah - there even is the replacement of Email::Address::XS , by the bug reporter, which hopefully fixes this bug already ;)
[choroba]: the reporter is my colleague, BTW, albeit in a different team

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2018-06-20 12:04 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (116 votes). Check out past polls.