Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2015-12-01 02:12 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (791 votes), past polls