I installed it as super user. I am finding that ensim pro isn't allowing virtual users to share the root install of cpan installs.
However I'm not sure of how to install the cpan on the user directory level
I'm running ensim (not sure if your familiar with it) but ssh is enabled on a user level for this account and we have no issue logging in via ssh through a tradiontal method such as putty.
We've written a simple script to test ssh login via Net::SSH::Perl but we can only get the script to work when being executed as root and not as user.
This is the simple script, any help would be very much appreciated.
use Net::SSH::Perl;
$host = "my.server.com";
$user = "root";
$passwd =...
via a browser. To enable clients to log into a unique menu according to password. The menu is no problem, we are a little confused on how to securely create a username and password login page using a time sensitive logout tools like sessions
I'm a java nubie and am wondering if someone knows of a thread or could point me in the right direction in regards to creating a secure login in screen using Java and sessions to allow for security.
i've made the following lame attempt to create a response page for Authorize.net but it is giving me parsing errors.
here is my code to this point.
#!/usr/local/bin/perl -w
use strict;
# $Id: sim.pl,v 1.4 2002/11/21 23:31:53 adama Exp $
# You may want to store this more securely in a...
They are stored in a flat file because different users edit the flat file and the perl automatically imports the flat file without changing the perl script. I guess I could write an array like
@array=($text_e_gallery1,$text_e_gallery2,$text_e_gallery3,$text_e_gallery4,$text_e_gallery5);
for...
all that did is print out all the data of the flat file like
$scalar1='data for this variable';$scalar2='data for this variable';$scalar3='data for this variable';$scalar4='data for this variable';$scalar1='data for this variable';$scalar5='data for this variable';$scalar6='data for this...
I have the following counter
for ($count=1; $count<=32; ++$count) {
$text = ${'text_e_gallery'.$count};
}
I have a flat file that I require that has the follwing scalar values
$text_e_gallery1='text blah blahh';
I can print out the values one at a time but when I try to print for each...
I have a rather lengthy script (wwregistry.pl) that resides in the cgi-bin. It points to flat files in relative terms. (ie require "folder/file.cfg";)
I am going to use the same script but outside the cgi-bin. I've already made all the arrangements with .htaccess to execute outside the cgi-bin...
I have a shopping cart that spits out an end shopping value lets call it $grand_total
what I want is if $grand_total is less than 500 shipping (lets call it $shipping)is 39.95 and shipping should increase by $10 per $100 that grand_total increases.
obviously I could write this to infinity
if...
I know \w will match any "word" character (alphanumerics plus "_").
But what would match any "word" character EXCLUDING "_" (the underscore).
I'm trying to print the results from an array
Lets use this as an example
@p_categories = (info1,info2,info3,info4,info5)
foreach $p_category (@p_categories){
print "<tr><td> $p_category </td></tr>";
}
Now it's easy to have rows <tr> to simply run to infinity, but how would you...
How would you go about printing the results of foreach of an array, alternating the color of HTML between gray and white for each line. For example
foreach $p_category (@p_categories){
print "<tr><td bgcolor=\"gray\"> my results line 1 </td></tr>";
}
That's simple enough...
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.