Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Explicit Package?

by toolic (Bishop)
on Feb 07, 2019 at 19:39 UTC ( #1229561=note: print w/replies, xml ) Need Help??


in reply to Explicit Package?

use v5.14;
That line loads the strict pragma, the same as if you had:
use strict;
Refer to use VERSION:
Similarly, if the specified Perl version is greater than or equal to 5.12.0, strictures are enabled lexically as with use strict
That is the reason for your error messages. You need to declare your variables with my and open your file handles before using them.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2022-01-17 15:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (51 votes). Check out past polls.

    Notices?