Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by Rohit Jain (Sexton)
on Sep 21, 2012 at 06:36 UTC ( #994822=note: print w/replies, xml ) Need Help??


in reply to Re: Use of "my" after Perl v5.14
in thread Use of "my" after Perl v5.14

Frankly, I didn't understand few segments of that code.. (Especially that BEGIN..But will come over again when I gain some more experience coding Perl..

Thank You :)

Replies are listed 'Best First'.
Re^3: Use of "my" after Perl v5.14
by AnomalousMonk (Canon) on Sep 21, 2012 at 08:23 UTC
    I didn't understand few segments of that code.. (Especially that BEGIN..

    Those two blocks are inserted by the compiler in response to the  -w and  -l command line switches, respectively. (See perlrun for info on all switches.) Try deparsing the command line invocation with and without the switches and see the effect!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://994822]
help
Chatterbox?
[choroba]: As discussed in Using the DATA file handle for ARGV, I usually start my "fun" scripts with *ARGV = *DATA{IO} unless @ARGV;
[choroba]: this was just a remainder
[Discipulus]: ah thanks i forgot that thread (even if i saved it in my homenode)..

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2016-12-06 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.