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

RFC: pragma pragmatic

by shmem (Chancellor)
on Aug 09, 2017 at 07:55 UTC ( [id://1197072]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package pragmatic;
    use 5.10.0;
    ...
        }
    }
    1;
    
  2. or download this
    package Foo;
    use 5.10.0;
    ...
    
    sub foo { say "Foo::foo at line ".(caller)[2] }
    1;
    
  3. or download this
    #!/usr/bin/perl
    use 5.10.0;
    ...
    Foo::foo at line 9
    main::foo at line 11
    Foo::foo at line 13
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://1197072]
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-25 13:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found