ispman/bin ispman.getVhostAttribute,1.1,1.2

[email protected]
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/bin
In directory sc8-pr-cvs1:/tmp/cvs-serv27587

Modified Files:
	ispman.getVhostAttribute 
Log Message:
get Multi value attribute values also 

Index: ispman.getVhostAttribute
===================================================================
RCS file: /cvsroot/ispman/ispman/bin/ispman.getVhostAttribute,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ispman.getVhostAttribute	18 Jan 2004 02:18:04 -0000	1.1
+++ ispman.getVhostAttribute	18 Jan 2004 02:24:47 -0000	1.2
@@ -13,6 +13,11 @@
 use ISPMan;
 
 my $ispman=ISPMan->new();
-print $ispman->getVhostAttribute(@ARGV);
-print "\n";
-
+
+my $vals=$ispman->as_arrayref($ispman->getVhostAttribute(@ARGV));
+
+for (@$vals){
+	print "$_";
+}
+	
+print "\n";




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.