Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: 'use strict' is not Perl

by mischief (Hermit)
on Oct 15, 2001 at 21:22 UTC ( #118945=note: print w/replies, xml ) Need Help??


in reply to 'use strict' is not Perl

One thing that hasn't been pointed out yet is in PHP, variables are private by default inside functions; you have to explicitly declare them as global for the rest of the program to access them. This means that you're effectively "using (a small part of) strict" inside functions. A small point, but I thought I'd post it for the sake of completeness.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://118945]
help
Chatterbox?
[stevieb]: agreed. That's why I said at least a half-dozen. If enough of the different formats are present, the date/time folk may not have to request more. If they do, then at least there was a decent base to start with
[stevieb]: I do date and time transformations in both Perl and Python, but not frequently enough to not have to search for the format params etc ;)

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2017-04-29 02:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (531 votes). Check out past polls.