Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^5: POD for use feature 'declared_refs' wrong

by kcott (Archbishop)
on Oct 19, 2021 at 15:14 UTC ( [id://11137733]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        local(*foo) = *bar;
        local($_main{'foo'}) = $_main{'bar'};
    
  2. or download this
    $ cat pm_11137628_pkg_sep.pl
    use strict;
    ...
    print $], "\n";
    print $main'x, "\n";
    print $main::x, "\n";
    
  3. or download this
    $ perl pm_11137628_pkg_sep.pl
    5.034000
    42
    42
    
  4. or download this
        sub arrayadd {
            local(*a, *b) = @_;
    ...
        @foo = (1,2,3);
        @bar = (10,20,30);
        @totals = &arrayadd(*foo, *bar);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-03-28 11:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found