Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: How can I store a scalar variable, coming out of a do-until loop, as an element in an array for further operations?

by philiprbrenan (Monk)
on Aug 31, 2012 at 11:00 UTC ( #990984=note: print w/replies, xml ) Need Help??


in reply to How can I store a scalar variable, coming out of a do-until loop, as an element in an array for further operations?

I think it might help if you replace

@all_sentences=(my $sentence);

with

push @all_sentences, $sentence;
  • Comment on Re: How can I store a scalar variable, coming out of a do-until loop, as an element in an array for further operations?
  • Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://990984]
help
Chatterbox?
[MidLifeXis]: Leveraging prove to do data validation on an ETL process. What am I smoking??? :-)

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2016-12-07 19:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (131 votes). Check out past polls.