Does anyone know if Windows encrypts the transmission between two Windows machines when files are transmitted? If so, what sort of encryption (DES, 3-DES, etc.)?
--Derek
"Fear not the storm for this is where we grow strong."
This is a bit off topic...
Does anyone know if images created by Symantec Ghost Evaluation copy are still good after the 14 days if we upgrade Symantec to the full version?
--Derek
"Fear not the storm for this is where we grow strong."
Ok here's some more info....
I decided to try something more simple. I created a regular class that contains an instance of the Vector class. I then had the servlet create an instance of the regular class and called a method that would return the Vector. The servlet then contained a vector...
Well thing is, I think the Java is ok because it throws an exception after it gets into the instance of Class1 and gets to the point where the Vector that Class1 contains, is accessed. In this case, the first object contained in the Vector is not there. Class1 gets this vector from a method...
Greetings all,
I have a servlet class(Servlet1) which contains an instance of another non-servlet class(Class1) that contains instances of several other classes and contains a vector instance. Using a main method class that simulates the method call Servlet1 makes to Class1, I can get the...
OK,
Got Tomcat installed, I can look Servlet examples from the webapps/examples/ directory that came with the install. I have created a new context and added a plain HTML page which calls a servlet. I can see the HTML page just fine, but when I click a button which has an action calling a...
you can use backticks to send the names to an array and then print them:
[code]
@files = `ls`;
foreach $file (@files)
{
print STDOUT "$file\n";
} --Derek
"Fear not the storm for this is where we grow strong."
Does this work? I've seen this page but it mentions something further down about it not actually doing anything. --Derek
"Fear not the storm for this is where we grow strong."
try this:
open (IN, "file.name") or die "Can't open file.name: $!";
open (OUT, ">outfile.txt") or die "Can't open outfile: $!";
my %hash;
while ($line = <IN>)
{
if ($line =~ /^[a-z0-9]+\s([0-9]+)\s[a-z0-9]+/)
{
$hash{$1}{line} = $line;
}...
Is it possible to import a text file containing SQL statements into MySQL? I don't mean to import data, I just want to insert a ton of SQL statements I made with Perl. --Derek
"Fear not the storm for this is where we grow strong."
Using $file as the name of the file, open up a filehandle for each text file. Then you can loop through to the 32nd line and grab it. Then close the file and open the next one. Try this:
foreach $file (@userff)
{
open (IN, $file) or die "Can't open $file.";
for ($i = 1; $i <=...
I notice two things, which may not be issues if they are just typos in your post:
1. You didn't include a space between the $base and the name of the script when you are concatanating in the $fnf assignment.
2. You didnt include the .pl extension in the name of your script.
Like I said these...
Don't use the backticks with the system call. Use one or the other. i.e.
$var = system("cd $instdir; perl indexer.pl password=zipzip");
or
$var = `cd "$instdir"; perl indexer.pl password=zipzip`;
the "" are needed because perl won't interpolate unless...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.