No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
I want to output results from a postgresql table into a csv file. I can do this however its also copying over headers and a row count. Im using \o /path then my sql query; Is there a way to get rid of the headers so i just have the … | |
Im looking to put a loop into a program i have created but right now it only runs on a static IP hardcoded in the program. I would like it to loop through a list of IP addresses from a CSV file and loop until all IP have been used. … | |
my $num = 1; cal($num); print "$newnum\n"; sub cal{ my $num = shift; my $newnum = $num + 1; return $newnum; } is it possible to take variable $newnum and use its value outside of the sub cal. At the moment if i try and print the variable $newnum outside … | |
I have 2 perl files. 1st file is my main program and the 2nd is a small sub which I call by using system("file.pl"); I would like to reuse a stored value/s in variables from the main program and use them in the external file. How is this possible? | |
Im trying to call another perl file from within a perl program. I have been told it's system("file.pl"); but this doesnt seem to work |
The End.