Search Results

Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: k2k ; Forum: Perl and child forums
Forum: Perl Nov 6th, 2009
Replies: 1
Views: 656
Posted By k2k
basically i need to have 2 variables.. concat them and put them into use.

here is what i have done so far:


#!/usr/bin/perl

$stats =...
Forum: Perl May 3rd, 2009
Replies: 5
Views: 619
Posted By k2k
useradd is a command in fedora to add a user, so is it considered as an external command?

anyway i tried your suggestion it doesn't give me error but users weren't generated. it is the same as i...
Forum: Perl May 3rd, 2009
Replies: 5
Views: 619
Posted By k2k
hi, i am trying to write a script to generate a big number of users in perl.. it is actually my second time writting perl .. i used to write shell scripts before. my little script seems not working...
Forum: Perl Mar 4th, 2009
Replies: 4
Views: 646
Posted By k2k
thanks it worked. sorry i forgot to mark it solved.
Forum: Perl Feb 10th, 2009
Replies: 4
Views: 646
Posted By k2k
thanks and may i also ask how to assign the value to a variable?

i tried
$var = system("cat '/root/file' | wc -l");
print "$var"


it somehow returns 0 which is not right.
what is the...
Forum: Perl Feb 10th, 2009
Replies: 4
Views: 646
Posted By k2k
hi , i am pretty new to perl and I have a quick question.
below the code won't work unless fileName is under the same directory. would any one please give a quick reference in how to specify the...
Showing results 1 to 6 of 6

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC