I have been asked to see if perl writes to a filehandle directly
or if the data is buffered? If it is buffered, is there a command in perl
like the c command "flush"?
Thanks,
John Way
Confidentiality Notice: ***
Privileged/Co
test =~ s/^$pattern//;
}
print "$test\n";
Here is another way..
$test = "L54";
$pattern = "L";
if ($test eq $pattern) {
$test = reverse($test);
chop ($test);
$test = reverse $test;
print $test;
}
John Way
IS Professional
Phone (864)503-2939
Fax (8
This worked fine for me!
$_ = "nobody Wed Aug 22 12:32:22 2001 I";
print "$_\n";
$_ =~ s/^(.{7})\s+?(.{24})\s+?(\S+)$/$1,$2,$3/;
print "User = $1\n";
print "Date = $2\
++;
@parts = split(/\./,$name);
substr($parts[1],0,0) = "."; #LINE 240
John Way
IS Professional
Phone (864)503-2939
Fax (864)503-2444
Internal 246-2939
Confidentiality Notice: ***
Privileged/Confidential information may be contained in
ed in case of an error to
see where the program blew up.
Is there a better way to do accomplish this?
I am trying to emulate the "set verify" command from VMS DCL
Thanks,
John Way
Confidentiality Notice: ***
Privileged/Confidential inf
I am new to the list and just starting to learn perl. Can anyone tell me
how to process a form into a text delimited file or even what a text
delimited file is. I hope this isn't a stupid question.
Thanks
Allison
Are you talking about an HTML form? This is not a stupid question, but a
perfe
ing this link straight
into a browser or not.
Any other ideas??
John Way
try this...
$string = " text ";
print "Before regex:\"$string\"";
$string =~ s/^\s+|\s+$//g;
print "After regex:\"$string\"";
(the "|" indicates an OR)
John Way
Confidentiality Notice: **
c:\perl>nmake " I get the
message "'nmake' is not recognized as an internal or external
command,operable program or batch file." I searched the entire hard drive,
but there is no nmake or nmake.*
Neither of these methods worked for me and I can't locate any