Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Think for yourself.

by Abigail-II (Bishop)
on Oct 06, 2003 at 08:51 UTC ( #296889=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    map do_something($_), @some_list;
    do_something($_) for @some_list;
  2. or download this
    () = do_something ($_) for @some_list;
  3. or download this
    map {BLOCK} @some_list;
  4. or download this
    () = do {BLOCK} for @some_list;
  5. or download this
    do {BLOCK} for @some_list;
  6. or download this
    for (@some_list) {
        () = do {BLOCK};
  7. or download this
    for (@some_list) {
  8. or download this
    user_defined_function {BLOCK} LIST;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://296889]
[corenth]: Good morning (in my neck of the woods)
[Cosmic37]: hello perly kings and queens
[jedikaiti]: 'ello Monks
[Cosmic37]: and monkeys too...
[Cosmic37]: is anyone doing machine learning with Perl?
[Cosmic37]: I was using gneural code in C and it was interesting but did not have back propagation for neural networks
[corenth]: Cosmic, poking at it, but not really.
[Cosmic37]: I read that its possible to use the FANN library with Perl so I might try that now...
[corenth]: i have a question. I used map{ blah();blah(); blah();}@stuff; and it used up a ton of memory vs. the for(@stuff){} equivalent. What gives? (if anyone knows)

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2018-02-20 18:11 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (274 votes). Check out past polls.