Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: "Use strict" and "Use warnings" not working

by toolic (Bishop)
on Jun 03, 2010 at 00:17 UTC ( [id://842828]=note: print w/replies, xml ) Need Help??


in reply to "Use strict" and "Use warnings" not working

It looks like you are trying to run an executable command named "use" at your bash command prompt. Don't do that.

use strict and warnings belong inside a Perl file. For example, you can create a file named "foo.pl", give it execute permissions, and add these 2 lines at the top:

use strict; use warnings;
See also: perlintro

Tutorials -> Getting Started with Perl

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://842828]
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: (4)
As of 2024-04-19 22:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found