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

Re: Redefining Imported Subs: of scope and no

by 7stud (Deacon)
on Feb 09, 2013 at 04:26 UTC ( #1017926=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use if $/ = "\n", 5.012 => qw( say );
    
    --output:--
    Can't locate 5.012.pm in @INC (@INC contains: /Users/7stud/perl5/perlb
    +rew/perls/perl-5.16.0/lib/site_perl/5.16.0/darwin-2level /Users/7stud
    +/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0 /Users/7stud/p
    +erl5/perlbrew/perls/perl-5.16.0/lib/5.16.0/darwin-2level /Users/7stud
    +/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0 .) at /Users/7stud/perl5
    +/perlbrew/perls/perl-5.16.0/lib/5.16.0/if.pm line 13.
    BEGIN failed--compilation aborted at 2.pl line 1.
    
  2. or download this
    our $verbose = 1;
    use if $verbose, 'strict';
    
    $v = 'hello';
    
  3. or download this
    
    use strict;
    ...
    hello world
    
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2015-07-08 06:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (94 votes), past polls