Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing Output To An Array

Status
Not open for further replies.

sdslrn123

Technical User
Jan 17, 2006
78
GB
How does one print/capture output to an array?
 
what have you got so far?

Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
I am just wondering if it can be done. Rather than printing to a file and then grabbing data into array straight after, can i just print straight to an array.

 
of course there are a number of array functions:

push
pop
shift
unshift
splice

or

@array = the captured output from some process


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top