Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Oracle DB & Server Backup

by gav^ (Curate)
on Mar 29, 2002 at 04:13 UTC ( #155195=note: print w/ replies, xml ) Need Help??


in reply to Oracle DB & Server Backup

A couple of quick points:

  • Save uppercase functions for constants
  • You don't have to declare you variables at the top of a function. Declare them where you need them
  • use strict and warnings
  • Use ++ and += to simplify
  • Don't use backticks in a void context
  • You can do a delete @hash{qw(key1 key2 key3)}
  • foreach my $var (@list)
That's all for now.

gav^


Comment on Re: Oracle DB & Server Backup
Replies are listed 'Best First'.
Re: Re: Oracle DB & Server Backup
by samgold (Scribe) on Mar 29, 2002 at 04:57 UTC
    What do you mean Don't use backticks in a void context? I think I know what you mean, what would be a better way of doing that?
      Instead of using backticks, use system.

      gav^

        That's what I thought you ment.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (14)
As of 2015-07-31 09:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls