Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Processing array with suitable options

by vinoth.ree (Prior)
on Feb 22, 2013 at 10:53 UTC ( #1020132=note: print w/ replies, xml ) Need Help??


in reply to Processing array with suitable options

May be worst method,

use strict; use warnings; use Data::Dumper; #foreach $name ( @pnames ) while(<DATA>) { next if (/^\s*$/); chomp($_); $_ =~s/ {1,}/ /; my @names = split(/ {3,}/, $_); print Dumper \@names; } __DATA__ IdentifyingNumber Name + Version {E094B8EA-87B7-48DE-A0A8-A18AC8BFCDF4} .NET Data Provider for Teradata + 14.00.0.0 {1551F9D6-1B14-4AE1-BABA-70A4319C236A} ODBC Driver Provider + 14.00.0.0


Comment on Re: Processing array with suitable options
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2015-07-29 21:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls