Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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.


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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2018-01-21 17:47 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (228 votes). Check out past polls.