Welcome to Dream.In.Code
Become an Expert!

Join 149,508 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,335 people online right now. Registration is fast and FREE... Join Now!




How to access elements of a text file in PERL .

 
Reply to this topicStart new topic

How to access elements of a text file in PERL .

chandrag
23 Jul, 2007 - 01:07 PM
Post #1

New D.I.C Head
*

Joined: 20 Jul, 2007
Posts: 3



Thanked: 1 times
My Contributions
Hi all,

i wanna access elements of a text file columnwise just like in matrices.

ex: a text file contains the below strings as elements.

a apple +
b book +
c cat _
d dog _


............and so on.

now i want to access each element individually just like in a matrix.
could anybody help with this.

thank u
chandrag
User is offlineProfile CardPM
+Quote Post

KevinADC
RE: How To Access Elements Of A Text File In PERL .
23 Jul, 2007 - 03:15 PM
Post #2

D.I.C Head
Group Icon

Joined: 23 Jan, 2007
Posts: 238



Thanked: 6 times
Dream Kudos: 50
My Contributions
You are cross posting the same question on a number of forums.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 07:24PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month