Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: perlfunc index name conflict

by syphilis (Canon)
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 try.pl lin
    +e 7.
    Argument "lo w" isn't numeric in subroutine entry at try.pl line 7.
    0
    
  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
    Exports
    "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
    explicitly.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2014-07-13 21:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (252 votes), past polls