Re: perl Write filehandle blocks.



kiranmn@xxxxxxxxxxx <kiranmn@xxxxxxxxxxx> wrote:


#!/usr/bin/perl -I../lib


#use strict;


You lose all of the benefits of strict when you comment it out like that.


print "$_";


perldoc -q vars

Whatâ??s wrong with always quoting "$vars"?


--
Tad McClellan SGML consulting
tadmc@xxxxxxxxxxxxxx Perl programming
Fort Worth, Texas
.



Relevant Pages

  • Re: infinite loop to monitor directories
    ... use strict; ... From perldoc File::Find: ... Can't stat no_chdir: ... will never hold for any file created after the script has been started. ...
    (comp.lang.perl.misc)
  • Re: strict ref problem
    ... > of articles in this group's archives that I think could apply, ... > load variable names and then reference them? ... You can find more information in `perldoc strict`. ...
    (comp.lang.perl.misc)
  • Re: How to make global vars?
    ... > I'm trying to figure out how to use/make simple global vars. ... > seperate file that does the connection and call it in the other scripts; ... > use strict; ... perldoc strict ...
    (comp.lang.perl.misc)
  • RE: Matching a Scalar Variable
    ... We need to know more about file size and memory to make this ... perldoc from a command line. ... perldoc strict ... perldoc warnings ...
    (perl.beginners)
  • Re: Is this considered ugly?
    ... > use strict; ... foreach { ... hashes: perldoc perldata ... map: perldoc -f map ...
    (comp.lang.perl.misc)