Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Printing Array Output Outisde foreach

by 2teez (Vicar)
on Mar 07, 2014 at 16:00 UTC ( [id://1077406]=note: print w/replies, xml ) Need Help??


in reply to Printing Array Output Outisde foreach

Hi ahjohnson2,
..I'm running a .csv list through a foreach loop, and if certain criteria is met, I want to print it out but separated by categories..

Since, you have a CSV file, why not use Text::CSV or Text::CSV_XS
And since, a sample of your dataset is not shown, what categories are you talking about please?

Then have you also tried using Data::Dumper to print your final output to see how it might look like?

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me
  • Comment on Re: Printing Array Output Outisde foreach

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-24 09:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found