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

Re: Of strict, globals, packages and style

by Moron (Curate)
on Oct 21, 2005 at 09:58 UTC ( [id://501937]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/bin/sh
    #... intervening code ...
    export CountDataLines = `perl -e 'while(<>){/^\s*</ or $notXML++;} pri
    +nt $notXML;' < $FileName`
    
  2. or download this
    my %gdd; Init( \%gdd)
    
  3. or download this
    sub Init
        #example of using a reference to a unique global dictionary
    ...
        my $lh = $gref -> { FH }{ LOGFILE };
        print $lh MyTimeStamp() . ": $msg\n";
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-24 18:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found