Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Use of "my" after Perl v5.14

by tobyink (Abbot)
on Sep 20, 2012 at 22:36 UTC ( #994770=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    #!/usr/bin/env perl
    use v5.14;
      say $var;
    say $var;
  2. or download this
    use v5.14;
    set("Hello world");
    say $global;
  3. or download this
    $Foo::Bar::monkey  = 'capuchin';
    @Foo::Bar::monkies = qw( capuchin howler spider );
    $::Hello = "World";  # is an alias for $main::Hello
  4. or download this
      package Foo::Bar;
      say $monkey;   # blank line (it's undefined)
      say $Foo::Bar::monkey;

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2015-12-01 08:10 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 (796 votes), past polls