Hello everyone,
I want to clean this bit of code up. It looks really messy. I am in a
mental block. Any suggestions?
@userInfo = split /\s+/, $buffer;
#insert home users quota in the db
foreach $userInfo ( @userInfo ) {
( $name, $quota ) = split /\|/,
kellerman [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 9:34 AM
To: [EMAIL PROTECTED]
Subject: next if a cleaner way?
Hello everyone,
I want to clean this bit of code up. It looks really messy. I am in a
mental block. Any suggestions?
@userInfo = split /\s+/, $buffer
Hi Chad.
Chad Kellerman wrote:
Hello everyone,
I want to clean this bit of code up. It looks really messy. I
am in a mental block. Any suggestions?
@userInfo = split /\s+/, $buffer;
Use a single space here to split on.
@userInfo = split ' ', $buffer;
It's a special case that
chad kellerman wrote:
Hello everyone,
I want to clean this bit of code up. It looks really messy. I am in a
mental block. Any suggestions?
@userInfo = split /\s+/, $buffer;
#insert home users quota in the db
foreach $userInfo ( @userInfo ) {
( $name, $quota )