Forum: Perl Nov 6th, 2009 |
| Replies: 1 Views: 656 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 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 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 thanks it worked. sorry i forgot to mark it solved. |
Forum: Perl Feb 10th, 2009 |
| Replies: 4 Views: 646 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 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... |