Pat, you are a star
I just tried it and it works :-) WOOT !!!!
I am yet to populate the scripts directory with the appropriate batch files
ie admin-draftsman.bat but I am sure that it will work a treat..
Thanks heaps again Pat, I am off to bed now but I will try and test it at
work tomorrow if I have time.
Out of interest, how does the this new perl code overwrite the existing
base, sales and develop.bat that exist in the install.pl or is that too
complicated to mention :-)
Aron
-----Original Message-----
From: Patrick J. LoPresti
To: Mangano, Aron
Cc: '[EMAIL PROTECTED] '
Sent: 5/13/2004 11:25 PM
Subject: Re: [Unattended] Creating Menus For Different Builds
Wow, I really must be losing it.
OK, one more time:
$u->{'_maunsell'}->{'department'} =
sub {
print "Choose department:\n";
return menu_choice (map { $_ => $_ }
('Admin', 'Civil', 'Mechanical',
[etc.]
));
};
$u->{'_maunsell'}->{'role'} =
sub {
print "Choose role\n";
return menu_choice (map { $_ => $_ }
('Secretary', 'Engineer', 'Draftsman',
[etc.]
));
};
This is my own fault for making menu_choice and multi_choice
inconsistent, so even I cannot remember how to use them...
- Pat
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info