Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: REALLY PERL ??

by will_ (Scribe)
on Mar 16, 2018 at 12:40 UTC ( [id://1211031]=note: print w/replies, xml ) Need Help??


in reply to REALLY PERL ??

...and that's why we give our variables meaningful names, instead of single character names like $s
perl easy_fix.pl #!/usr/bin/perl -- use strict; next unless meaningful_name->{ID} =~ /\d\d+/; print 1; print "a - b -Q";

Output:

Can't use bareword ("meaningful_name") as a HASH ref while "strict refs" in use at easy_fix.pl line 3.

(Perl v5.18.2)

ɹǝʞɔɐɥ lɹǝd ɹǝɥʇouɐ ʇsnɾ

Log In?
Username:
Password:

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

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

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.