By the Court,
Paine, J.This was an application for a writ of mandamus, to compel Joseph Lean, the register of deeds of Iowa county, to keep his office at Mineral Point. An alternative writ was issued at the last term, and on the return day counsel appeared on behalf of Lean, and moved *281to quash the writ, for alleged defects in the petition on which it was granted. This motion was argued in the absence- of the relator, but was not disposed of, and owing to the changes of the judges composing this court, a re-argument wa ordered.
At the present term the relator has filed a motion to strike from the files the motion to quash, and also another motion for a peremptory writ. These three motions were argued together, and will now be disposed of.
In support of the motion to strike off, it was urged that after an alternative writ of mandamus is once issued, the person to whom it is directed can only make return according to its mandate, and cannot be permitted to move to quash the writ, even for alleged defects in substance in the petition on which it was issued. But we are satisfied that as a matter of practice, in such cases, a motion to quash is entirely proper. Alternative writs are usually granted without much examination. The papers are read, and if it appeals clearly that the petitioner is not entitled to the relief sought, the writ is refused. Otherwise it has been usual to allow it to issue, leaving the merits of the application to be determined when presented by those familiar with them, and when both sides should be represented. And this course is almost a necessity.
Applications for the writ are ex parte. The questions involved are frequently complicated, and the solutions difficult. And it would be impossible for the court to give them such examination, that the issuing of the writ should be held at' all conclusive on the sufficiency of the application. And a motion to quash is a proper mode of testing that sufficiency. It performs the functions of a demurrer to a declaration, and we think, if a writ should be issued on an application defective in substance, the person to whom it was directed should have some method of raising that question, before being compel-ió answer. And the authorities cited by the counsel for *282the respondent show that a motion to quash has been resorted to for that purpose, both in this country and in England. We think the practice proper, and the motion to strike off must therefore be denied.
And this brings us to the consideration of the motion to quash, upon its merits. The material facts alleged in the petition on which the writ was issued, are, that Mineral Point was the county seat of Iowa county, and had the necessary county buildings and offices ; that on the 28th day of April, 1858, an act was passed by the legislature, submitting it to a vote of the electors of that county, at the general election in November following, to decide whether the county seat should be removed to Dodgeville, in that county, or not; that this law was not published by the state printer, and was never published in any manner known to the law; but that a pretended law, in reality never enacted, fixing the the time of voting on the county seat question in April, 1858, instead of in November, was published by the state printer in his newspaper, and in the bound volume of the laws printed for that year, as a law. That certain residents of Dodgeville executed bonds and trust deeds for the purpose of securing the erection of county buildings there, in case of removal ; and issued handbills informing the people of that fact; and that this had a corrupting influence on the electors, inducing more to vote for a removal than the actual majority in favor of it; that the people of the county did vote on the question, at the November .election, and that the majority was three hundred and fifty in favor of the removal to Dodgeville; and that subsequently the register of deeds had kept his office in Dodgeville.
It will be obvious therefore that the question, whether the county seat of Iowa county is at Mineral Point or Dodgeville, depends upon the validity of this election; and that this depends upon the operative effect of the law under which it was held.
*283The relator contends that it never was in force ; first, because unconstitutional and void. The ground of this objection is that the provisions of chapter 85 of the general laws of IS57, are incorporated into and made a part of this act, and that those provisions prescribe other and different qualifications for the voters of this election than those prescribed by the constitution for electors; and that this case falls, therefore, within the decision of this court in the case of The State ex rel. Knowlton vs. Williams, 5 Wis., 308. If it is true that this act does prescribe such other qualifications, then the objection is good, and the law must be declared void. But we are satisfied that it contains no such provisions. The clauses relied on, at the argument, as having this effect, are the provisions of §§ 13 and 14, of chapter 85, of the laws of 1859, before alluded to.
Section 13 provides that when the vote of any person is challenged, the inspectors of election shall examine him under oath, and prescribes a series of questions adapted, in each instance, to the cause of challenge, and calculated to draw out from such person the truth as to whether such cause of challenge existed against him or not. But the grounds of challenge to which the sets of questions are adapted, imply only the qualifications required by the constitution; nothing further or different. This act, therefore, instead of prescribing any qualifications for electors different from those provided for in the constitution, contains only new provisions to enable the inspectors to ascertain whether the person offering to vote possessed the qualifications required by that instrument and certainly it is competent for the legislature to enact such. The necessity of preserving the purity of the ballot box, is too obvious for comment, and the danger of its invasion too familiar to need suggestion. While, therefore, it is incompetent for the legislature to add any new qualifications for an elector, it is clearly within its province to require any person *284offering to vote, to furnish such proof as it deems requisite, that he is a qualified elector.
The questions prescribed by this act, are clearly of this character, designed only for that end; and we do not deem it necessary to allude further to the' criticism to which they were subjected by counsel. It is true that § 14 provides that if any person challenged refused to answer, his vote should be rejected. But does that make the answering of the questions a new qualification for a voter? Certainly not. Under the law, as it before existed, any one whose vote was challenged had to take an oath that he possessed the qualifications required by the constitution. If he refused, his vote was rejected. But this did not make the taking of the oath a new qualification, so as to invalidate the law. It was rejected only because he failed to furnish the proof required by law, showing his right to vote.
The law as it then stood, was deemed ineffectual to prevent illegal voting, and the legislature adopted the act of 1857, as more searching in its provisions, and more difficult to evade. If the vote of any elector is rejected under it, it will not be because it makes any new qualification, but only because he refuses to furnish the proof it requires that he has the old. We think, therefore, that this objection cannot be sustained, and that there is nothing in the act in question repugnant to the constitution.
The only remaining reason urged why the law never was in force, is that it was not published. And whether publication is a condition precedent to its taking effect, depends on the question whether or not it is a general law, within the meaning of § 21, Art. VIL, of the constitution.
That section is as follows: “ The legislature shall provide “ by law for the speedy publication of all statute laws, and « such judicial decisions made within the state as may be “ deemed expedient. Jind no general law shall he in force “ until publishedP
*285This act itself provides that it shall be in force from and after its passage; and we think it would take effect accordingly, unless it comes within the prohibition of the constitution. Because, as that prohibition expressly includes only “ General Laws,” the rule that the expression of certain things excludes others not expressed, applies; and laws not “ general,” ought not to be held within its provisions.
Is this act, therefore, a general law ? It is, undoubtedly, difficult to draw an accurate line between general laws, and those not general; or to establish a test that will be entirely satisfactory. One test urged was that laws which operate throughout the whole state, should only be deemed general, and that those which relate to, or operate directly only in particular localities or divisions of the state, should not be so deemed. This test is simple and easy of application; but we confess that it does not seem entirely satisfactory. It makes the mere extent of territory over which the law operates, determine its character as general or otherwise. While it seems clear that the very nature of the provision requiring the publication of general laws, indicates that the character of the law should be determined by the greater or less extent to which it affects the people, rather than by the extent of territory over which it operates. It might be suggested that the former test would depend on the latter, or that the law would affect the people, in proportion to the extent of territory over which it should operate.
But this certainly is not so. Because there are many laws relating only to particular trades or professions, or subjects, yet operating throughout the whole state, and affecting the people at large, only so far as they have dealings with those particular trades or professions, or be interested in those particular subjects. Yet these are classed, and we think properly, as general laws.
Now, there may be several hundred thousand, or even sev*286eral millions of people residing in a single county. It is clear, therefore, that a law operating in a single county, but affecting the rights and interests of all the people there, may be really of more general interest and importance than one operating throughout the whole state, but relating only to a particular class.
Laws of a purely private character are generally passed at the instigation of those interested; and it might, therefore, well be presumed that all such persons were aware of their provisions, and that no injury could accrue from allowing them to be in force before publication. But when they relate to, and affect the rights of such large numbers of the people, that this presumption is destroyed; and it is rendered probable that a large portion of those interested to know, are yet ignorant of their provisions until informed of them in some public manner. Such laws, would seem to come within the reason and spirit of the constitutional prohibition, if not within the letter, and laws affecting whole counties may well be said to be of this class.
Besides this, it may well be urged that the location of each county seat is of interest to the people of the whole state. It is true, the constitution commits the determination of the question to a vote of the people of each county, and properly enough, because they are more directly, as well as more deeply interested than others. But at the county seat of each county, the state, through its proper officers, administers justice. All the inhabitants of the state are liable to be sued in any county, and to have their rights litigated there. And we think there is much force in the reasoning of the late Chief Justice Stowe, in the Washington County Seat Case, 2 Chand., 256, where he contends that laws relating to the location of county seats are public acts. And this view is sustained by other authorities.
In the case of Pierce vs. Kimball, 9 Greenleaf, 54, the court *287held an act providing for the survey of lumber, and forbidding the purchase and sale of lumber not surveyed in a single county, to be a public act.
In the case of New Portland vs. New Vineyard, 4 Shep., 69, it was decided that an act annexing one town to another, was a public act. The court says: “ Those are to be regarded as public acts which regulate the general interests of the state, or any of its divisions.”
The same court, in the case of Gorham vs. Springfield, 8 Shep., 58, held that an act incorporating a town was a public act. By the statutes of Maine public acts were not in force until thirty days after the adjournment of the legislature which passed them. And in both these cases the point was whether the act in question was in force previous to the expiration of the thirty days; and the court held it was not. And this is the precise question presented here, for we have no doubt the words “ general laws” in our constitution, were intended to include the same class of laws as the words “ public acts” in the statutes of Maine.
In the case of West vs. Blake, 4 Blackf., 236, the court held that an act authorizing an agent of the state to lay off and sell lots in a particular town, it being the seat of government, was a public act. And in reasoning upon the question, it says: “Statutes incorporating counties, fixing their boundaries, establishing court-houses, canals, turnpikes, railroads, etc., for public uses, all operate upon local subjects. They are not, however, for that reason, special or private acts.” Other authorities might be mentioned of a similar import, showing, in the language of a learned law writer, that “ in this country the disposition has been, on the whole, to enlarge the limits of the class of public acts, and to bring within it all enactments of a general character, or which in any way affect the community at large.”
But without pursuing the subject farther, whatever doubt *288there might otherwise be as to the general character of this law, we think the following consideration places it beyond doubt. As has already appeared, the provisions of chap. 85, Laws of 1857, are incorporated into, and made a part of it. This chapter was itself a general law, and prescribes penalties for illegal voting, and for counselling or advising it, which were clearly applicable to the people of the whole state. By this act people residing outside of the county of Iowa, going there and voting on the county seat question, or counselling others to do so, were made liable to punishment. Indeed, § 5, which makes it an offence to vote in a county where the voter did not reside, was applicable exclusively to those residing out of Iowa county, and could not have been violated at that election by those residing in it. We have no doubt that this makes the law in question a general law, within the prohibition of the constitution.
The case of Charles Rogers, 2 Greenf., 303, and the case of Heridia vs. Ayres, 12 Pick., 334, fully sustain this view. In the last mentioned case the question arose on a law relating to piloting vessels into Boston harbor. Upon this point the court remarks. as follows: “ The last objection is, that the statute is a private act, and ought to have been recited in the declaration. Without going minutely into this subject, which sometimes involves distinctions of much nicety and difficulty, there is one consideration which renders it decisive that this is a public act; which is, that the first section in terms imposes a penalty upon every person who shall violate its provisions. It is, therefore, binding upon every citizen of the commonwealth, and upon every stranger, who, coming within its jurisdiction, owes a temporary allegiance to its laws.”
Being of the opinion, therefore, that this law, providing for submitting the question of a removal of the county seat to the voters of Iowa county, was a general law, it follows that it could not be in force until published.
*289The counsel for the respondent urged that the petition does not contain a sufficient allegation that the law was not published. But we think it does. It avers that the act was never published in accordance with the provisions of chap. 6 of the General Laws of 1858, “nor in any other manner known to the law.'"’ And we think, in order to give it effect, the publication must be in some manner known to the law. The constitution says that the legislature shall provide for the publication of laws, and that no general law shall be in force until published. We think the publication mentioned in the last clause, is the one required to be provided for in the first; that is, that it must be in pursuance of some law. The motion to quash the alternative writ, is, therefore, denied.
But as we have held the filing of such a motion to be proper practice, to test the sufficiency of the application, we think, when the motion is overruled, the respondent should have further time to answer if he desires it. If further time is desired, the respondent may answer within twenty days, and the peremptory writ is denied. If no further time to answer is desired the peremptory writ may issue.
By the Court,
Paine, J.,July 11, 1859. Since the former decision on the several motions then pending, the respondent has filed a return, to which the relator has demurred. On the argument the question was raised whether or not the allegations in the petition, on which the writ was issued, which are not denied by the return, are to be considered as true. The respondent’s counsel contended tha they were not; and that the return is the primary pleading in the case, and that on a demurrer to that, nothing was to be taken as true except the allegations of the return itself.
But we do not think this view correct. On the contrary, we are satisfied, both from the reason of the thing, and from *290the authorities on the subject, that the affidavit, or petition on which the alternative writ issues, the allegations of which are incorporated into the writ itself, performs the office of a declaration. It sets forth the grounds relied on by the prosecutor, as entitling him to the peremptory writ, and it is incumbent on the respondent, by his return, to sufficiently answer those allegations, and negative the prosecutor’s right. The function of the return is hot simply to show what would amount to a p rima facie right in the respondent, in the absence of any allegation to the contrary; but it is to show a right to refuse obedience to the writ, in view of the allegations it contains. And if it does not do this, it is demurrable. And the very object of a demurrer to the return, is to test its sufficiency as an answer to the allegations of the .writ; and it is obvious that this can only be done by assuming all the material allegations of the wiit not denied, nor confessed and avoided, to be true.
The plea or answer which the plaintiff may put in to the return, is designed to enable him to traverse or confess, and avoid it 5 when it, in the first instance, sufficiently answers the writ; and not to repeat material allegations previously made, which had been left entirely unanswered, in order to obtain the benefit of them.
We think therefore that the demurrer to the return raises the question of its sufficiency, and of the sufficiency of the relation, and that in disposing of it, not only the return, but every material allegation in the relation not denied nor confessed and avoided, is to be taken as true.
The return sets forth the enactment of the law authorizing the vote on the removal of the countyseat,and election under it resulting in favor of Dodgeville, substantially as set forth in the relation, with the addition however that the act was1 published under the direction and authority of the Secretary of State, in the paper authorized to do the state printing, at the capital, on the twenty-fourth day of September, 1858; *291and also in the “ Iowa County Advocate/’ a paper published at the county seat of Iowa county, on the 30th of September, 1858.
The first question presented by the demurrer is, whether this was such a publication as made the law operative. By the laws in force at the time of the enactment of this act, the Secretary of State was required to furnish to the person authorized to do the state printing, within one week after its passage, a copy of every general law, and the latter was required to “ immediately publish the same in a newspaper printed at the seat of government.” The same person was also required to print all laws, general and special, in bound volumes, and deliver them to the Secretary of State within sixty days after the adjournment of the session at which they were enacted. These and other provisions having any bearing on the question, are found in chap. 5, R. S., 1849; chap. 504, Laws of 1852; chap. 99, Laws of 1857; and chap. 114, Laws of 1858.
It is clear that the publication set forth in the return, was not within the time mentioned in the provisions above referred to. But it was contended by the counsel for the respondent, that these provisions were directory and not mandatory, and that a publication after the time prescribed, would be equally effectual to make the law operative, as one within the time. And to sustain this the cases of The People vs. Allen, 6 Wend., 486, and The People vs. Cook, 14 Barb., 259, were cited. We are not prepared to deny that the doctrine established by these and other similar cases, is applicable to our statutes providing for the publication of laws. On the contrary, we think it is applicable, and that those statutes may be regarded as directory to a certain extent But we do not think it follows from this that there is no limit, and that because the precise time mentioned in the laws may be passed, that therefore a publication at any future time would be good, *292without reference to the general object of the laws upon the subject, or to the nature of the particular act in question. We think both of these may be considered to establish such a limit.
For we understand the doctrine concerning directory statutes to be this: That where there is no substantial reason why the thing to be done might not as well be done after the time prescribed as before — no presumption that by allowing it to be so done, it may work an injury or wrong — nothing in the act itself, or in other acts relating to the same subject matter, indicating that the legislature did not intend that it should rather be done, after the time prescribed, than not to be done at all; there the courts assume that the intent was, that if not done within the time prescribed, it might be done afterwards. ' But, when any of these reasons intervene, there the limit is established. Thus, in this case the statute required the Secretary of State to furnish the printer with a copy of the act within one week after its passage, and the latter to publish it "immediately,” This would mean as soon as it could be done in the ordinary course of such business. But if not so published, it might well be done after-wards, and still held effectual; but, clearly not at any indefinite time afterwards. The very nature of the act itself should prevent this. It provided for a vote of the people of Iowa county on a matter important to them. It contained no provision for giving notice of the election. And even the counsel for the respondent would not contend that a publication in a newspaper at the capitol, the day before the one on which the election was to be held, ought to give the act validity.
Certainly it would be impossible to say that the legislature ever intended that this should be authorized, by a provision for its "immediate” publication. Where then is the limit? The majority of the court have come to the conclusion, that in the absence of any thing in the character of a particular *293act which would require a stricter compliance with the provisions of law as to time, the following would be a sound rule to'adopt: That is, that the printer, in case he fails to comply with the statute, by an “ immediate” publication of general laws, in a newspaper at Madison, may still give them effect by such publication at any time prior to the publication and issuing of the bound volumes of the laws, or by publication therein; but not after. We do not say that if these bound volumes are not published within the time prescribed by law, that a law may not be made operative by publication at any time before they are published, but after these volumes are actually issued, we think the power of publication is at an end.
The provisions of the statutes themselves, and the object to be attained by a publication, would seem to indicate this as the utmost extent to which these statutes should be held directory. Because the law itself provides for the publication of these bound volumes, and that they be delivered to the Secretary of State within sixty days after the session, and by him distributed to the counties and officers authorized to receive them. He is required to compare them with the enrolled acts in his office, to specify any errors in the publication, and then append his certificate that the volumes are correct. The provision for the “ immediate” publication in the newspaper, evidently contemplates that such publication will take place before the publication in the bound volumes. When therefore the latter have been issued and distributed among the people pursuant to law, they have the right to look to those volumes as containing the laws by which they are to be governed until another session of the legislature. They are thereby legally informed that those are the laws, and that there are no other laws by which their rights may be affected.
And we think that after these volumes are issued, it raises a strong presumption that to allow a general law, requiring *294people to act with reference to important interests, and exposing them to new penalties and punishments, to become operative by a subsequent publication in a newspaper at the capitol, would work great injustice. If such a thing could be allowed, instead of the provisions of law requiring publication, being any protection to the people against those mis-chiefs which the constitution designed to guard against, they might in many instances serve as a snare, and delude men into a false idea of safety, while their interests were being affected by the operation of statutes which a reasonable diligence had not only not enabled them to discover, but had shown them, by lawful evidence, did not exist. We think it would be carrying the doctrine of holding statutes directory, to an unwarrantable extent, to sustain such a rule.
And we think the view we have taken as to the intent to be derived from these various provisions, is confirmed by reference to subsequent legislation. Sec. 31, chap. 6, of the Revised Statutes, now in force, provides that the Secretary of State shall cause the laws of general interest to be published in all the papers of the state; leaving him a discretion to prescribe within what time such publication shall be completed; with however a positive proviso that it shall be completed within two months after the adjournment of the session. This being about the exact time provided for the publication of the bound volumes, it shows that this legislation looked to to them when issued, as the sources of information as to the laws, and did not intend to allow subsequent newspaper publications. And this only corresponds with the intent fairly to be derived from the previous statutes.
It appearing therefore that this act was not published until after the publication of the bound volumes of 1858, and was not contained in them, we are compelled to say that we cannot hold the statutes on the subject directory to the extent of warranting such a publication.
*295Having come to this conclusion it is unnecessary to pass upon the other questions discussed. The demurrer must be sustained, and the peremptory writ issue.