Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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
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 drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2014-08-30 18:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls