Ask a Question related to PERL Beginners, Design and Development.
-
Mallik #1
map?
I couldn't understand the functionality of map in PERL. Is there anybody to
help me?
Thanks,
Mallik.
Mallik Guest
-
Ohad Ohad #2
RE: map?
perldoc map
perldoc grep
They both have very semilar functionality of creating a new array from
existing one.
__________________________________________________ _______________>From: "Mallik" <mallikarjunk@softima.com>
>Reply-To: <mallikarjunk@softima.com>
>To: "Perl Beginners" <beginners@perl.org>
>Subject: map?
>Date: Sat, 31 Jan 2004 17:38:22 +0530
>
>I couldn't understand the functionality of map in PERL. Is there anybody to
>help me?
>
>Thanks,
>Mallik.
>
>
>--
>To unsubscribe, e-mail: [email]beginners-unsubscribe@perl.org[/email]
>For additional commands, e-mail: [email]beginners-help@perl.org[/email]
><http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
[url]http://join.msn.com/?page=features/junkmail[/url]
Ohad Ohad Guest
-
Wiggins D'Anconia #3
Re: map?
Please bottom post...
Ohad Ohad wrote:
Those need a '-f' to work....> perldoc map
> perldoc grep
>
> They both have very semilar functionality of creating a new array from
> existing one.
>
perldoc -f map
perldoc -f grep
Did you read the docs? What were you looking at that you didn't>> From: "Mallik" <mallikarjunk@softima.com>
>> Reply-To: <mallikarjunk@softima.com>
>> To: "Perl Beginners" <beginners@perl.org>
>> Subject: map?
>> Date: Sat, 31 Jan 2004 17:38:22 +0530
>>
>> I couldn't understand the functionality of map in PERL. Is there
>> anybody to
>> help me?
>>
understand? What have you tried, where did it fail or what confused you?
If you didn't read the docs, you can always access a built-in function's
documentation by perldoc -f <function> ...
This is the second open ended question you have posted, a third willl
indicate a pattern that may not get much response...
[url]http://danconia.org[/url]
p.s. Either Perl or perl never PERL, perldoc -q '"Perl"'
Wiggins D'Anconia Guest
-
Jeff 'Japhy' Pinyan #4
Re: map?
On Jan 31, Mallik said:
Did you need understanding HOW to use it, or what you'd use it FOR? If>I couldn't understand the functionality of map in PERL. Is there anybody
>to help me?
you need help with HOW to use it, I'd ask that you first read the docs
perldoc -f map
and then show us code you've tried with it. If you need help with what
you use it FOR, I can give you some advice and some pointers.
--
Jeff "japhy" Pinyan [email]japhy@pobox.com[/email] [url]http://www.pobox.com/~japhy/[/url]
RPI Acacia brother #734 [url]http://www.perlmonks.org/[/url] [url]http://www.cpan.org/[/url]
<stu> what does y/// stand for? <tenderpuss> why, yansliterate of course.
[ I'm looking for programming work. If you like my work, let me know. ]
Jeff 'Japhy' Pinyan Guest
-
R. Joseph Newton #5
Re: map?
Mallik wrote:
In brief, map returns a list represneting the mapping of a function onto all> I couldn't understand the functionality of map in PERL. Is there anybody to
> help me?
>
> Thanks,
> Mallik.
elements of a list. The original list may or may not be affected by the
function, depending on the syntax by which its membes are addressed.
Joseph
R. Joseph Newton Guest



Reply With Quote

