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

Re^2: perlfunc index name conflict

by syphilis (Chancellor)
on Sep 23, 2012 at 23:09 UTC ( #995268=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    use warnings;
    use strict;
    use PDL;
    print index('hello world', 'lo w'), "\n";
  2. or download this
    Argument "hello world" isn't numeric in subroutine entry at lin
    +e 7.
    Argument "lo w" isn't numeric in subroutine entry at line 7.
  3. or download this
    PDL includes about a dozen perl modules that form the core of the
    language, plus additional modules that add further functionality. The
    perl module "PDL" loads all of the core modules automatically, making
    their functions available in the current perl namespace.
  4. or download this
    "use PDL;" exports a large number of routines into the calling
    namespace. If you want to avoid namespace pollution, you must
    instead "use PDL::Lite", and include any additional modules

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995268]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2017-06-27 10:45 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (602 votes). Check out past polls.