justsomeguy has asked for the wisdom of the Perl Monks concerning the following question:
I'm a recovering IT manager looking for the most efficient way of assigning the output of this print statement to an array, which will later be written through DBI to an SQLDB. Right now, just need to build an array off of it:
while (<FILE>) { ( print $_ if (/Run as/ .. /^ /); }
I know I did something similar, long ago. Hoping one of you kind folks will help to jog my memory and shake loose my dormant perl.
Thank you.
|
---|
Back to
Seekers of Perl Wisdom