Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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.


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.


        That's what I thought you ment.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2015-11-28 02:50 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (737 votes), past polls