Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: $_ functions vs argument-using functions

by afoken (Chancellor)
on Sep 10, 2013 at 05:07 UTC ( [id://1053160]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    g(42);
    g();
    g(42,99,333);
    
  2. or download this
    f called with 1 arguments: 42
    f called with 1 arguments: 42
    ...
    via g: f called with 1 arguments: 42
    via g: f called with 0 arguments:
    via g: f called with 3 arguments: 42, 99, 333
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-23 16:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found