/ Published in: Perl
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 #-------------------------------------------------------------------------- # handle the command line arguments # if ( $#ARGV == -1) { &usage; } while (@ARGV) { if ($argument eq "-HELP" || $argument eq "-H") { &usage; } elsif ($argument eq "-file" || $argument eq "-f") { } elsif ($argument eq "-verbose" || $argument eq "-v") { # input data come live from the specified htget output file. Faster. $verbose = 1; } elsif ($argument eq "-DEBUG") { } elsif ($argument eq "-DOCUMENT" || $argument eq "-D") { &document; } elsif ($argument eq "-ABOUT" || $argument eq "-A") { &about; } elsif ($argument eq "-REL_NOTES" || $argument eq "-R") { &rel_notes; } else { &usage; } }
Comments
                    Subscribe to comments
                
                