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

Re: Some Basic Help.

by 2teez (Priest)
on Sep 24, 2012 at 09:13 UTC ( #995322=note: print w/ replies, xml ) Need Help??


in reply to Some Basic Help.

just to add to others mastery advice:

"...i want to define it as the current line of ..."

do like so:

... while(defined(my $trained = <trained>)){ chomp $trained; while(defined(my $predict = <predict>)){ chomp $predict; ... } ... }

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: Some Basic Help.
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (13)
As of 2014-10-31 18:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (222 votes), past polls