Our teacher, the Beit Yosef, wrote in section 9: "She may not go out with a perforated needle, and if she went out—she is liable. And one that is not perforated, if she supports her head-coverings with it—it is permitted to go out with it, and if she does not support her head-coverings with it—it is forbidden." Thus far his words. For when it supports her head-coverings she will not remove them, so as not to reveal her hair, but if it does not support her head-coverings but rather she sticks it into her veil and the like—it is forbidden, lest she remove it and show it. But when it serves no purpose at all—she is certainly liable for a chatat. And this is the manner of carrying if it is stuck in the place of her head-coverings, for there it is the manner to carry it, and when it serves no purpose at all, meaning it does not support her head-coverings and does not serve any purpose—she is liable for a chatat. However, when it is stuck in her garment—she is exempt, because this is not the manner of carrying it, as I wrote in siman 301 at the end of section 58; see there. And there is one who wrote that with a perforated needle, even if she supports her head-coverings with it—she is liable for a chatat (Beit Yosef and Magen Avraham subsection 7 and Taz subsection 7 at the end), and some say she is exempt, because this is not the manner of carrying it (Bach and Eliyah Rabbah subsection 12). And in my humble opinion these matters are completely astonishing, for since in any event it serves a purpose for her garments, how is it possible to make her liable even if this is the manner of carrying it, for this is not carrying but rather a use for the garment, just as we wrote in siman 301 there regarding a man, that when the needle serves in place of hooks why should it be forbidden; see there. And so I found in the Shiltei Gibborim chapter 6, and this is his wording: "The Rosh wrote that a woman may go out with a needle with which she supports head-coverings and similarly with a needle with which she gathers her hair etc., and he does not distinguish whether the needle be perforated or not." Thus far his words. However, regarding the essence of the matter according to the form of our needles that are not perforated—the concern of "lest she remove it and show it" does not apply to them, for what beauty is there in this. And it must be said that for them it was in the form of an ornament, just as there are also among us large and beautiful ones that women stick into their veils. (And all the words of the Taz were not clarified to me, also the words of the Magen Avraham subsection 7 require further study as I wrote, and his words in subsection 8 where he challenges the Bach—it is certainly so, but what he wrote that if it is made like an ornament even if it supports her head-coverings it is forbidden lest she remove it and show it—requires further study, for in the Gemara it implies explicitly otherwise, and in the Beit Yosef in the name of the Semag he did not write this regarding supporting head-coverings; see there, and all this requires further study. However, for the halacha now there is no practical difference, for we are not concerned with "lest she remove it and show it," and our women go out with ornaments as will be explained in this siman, and only regarding the matter of a perforated needle which they forbade even when supporting head-coverings it requires great study, and it seems that they have accustomed to permit it as written in the Shiltei Gibborim; and delve into this.)
ורבינו הב"י כתב בסעיף ט': "לא תצא במחט נקובה, ואם יצאה - חייבת. ושאינה נקובה, אם מעמדת בה קישוריה - מותרת לצאת בו, ואם אינה מעמדת בה קישוריה - אסור" עכ"ל. דבמעמדת קישוריה לא תשלפם, שלא תגלה שערה, ואם אינה מעמדת קישוריה אלא תוחבה בצעיפה וכיוצא בזה - אסור, דילמא שלפא ומחוי. אבל כשאינה משמשת כלום - ודאי חייבת חטאת. ודרך הוצאה בכך אם תחובה במקום קישוריה, ששם דרכה לישא אותה, וכשאינה משמשת כלום, והיינו שאינה מעמדת קישוריה ולא משמשת שום דבר - חייבת חטאת. אבל כשתחובה לה בבגדה - פטורה, מפני שאין דרך הוצאתה בכך, וכמ"ש בסימן ש"א סוף סעיף נ"ח ע"ש. ויש מי שכתב דבמחט הנקובה, אפילו מעמדת בה קישוריה - חייבת חטאת (ב"י ומג"א סק"ז וט"ז סק"ז בסופו), ויש אומרים דפטורה, משום דאין דרך הוצאתה בכך (ב"ח וא"ר סקי"ב). ולעניות דעתי הדברים תמוהים לגמרי, דכיון דעל כל פנים תשמש בו שימוש לבגדיה, איך אפשר לחייבה אפילו אם דרך הוצאתה בכך, הא אין זה הוצאה אלא תשמיש לבגד, וכמו שכתבנו בסימן ש"א שם באיש דכשהמחט משמש במקום קרסים למה יאסור ע"ש. וכן מצאתי בשלטי גבורים פרק ו', וזה לשונו: "הרא"ש כתב שאשה יוצאה במחט שמעמדת בה קישורים וכן במחט שאוגרת בה שערה וכו', ולא מחלק בין תהיה המחט נקובה או לאו" עכ"ל. אך בעצם הדבר כפי תמונת המחטין שאין נקובין שלנו - לא שייך בהם שלפא ומחוי, דאיזה נוי יש בזה. וצריך לומר דאצלם היתה זה בתמונת תכשיט, כמו שיש גם אצל[י]נו גדולים ונאים ותוחבין הנשים בצעיפיהן. (וכל דברי הט"ז לא נתבררו אצלי, גם דברי המג"א סק"ז צ"ע וכמ"ש, ודבריו בסק"ח מה שמשיג על הב"ח - וודאי כן הוא, אך מ"ש דאם עשויה כמין תכשיט אפילו מעמדת קישוריה אסור דילמא שלפא ומחוי - צ"ע, דבגמרא משמע להדיא לא כן, ובב"י בשם סמ"ג לא כתב אמעמדת קישוריה ע"ש, וצ"ע בכל זה. אמנם לדינא עתה אין נפקא מינה, דאנן לא חיישינן לשלפא ומחוי, ונשים שלנו יוצאות בתכשיטין כמו שיתבאר בסימן זה, ורק לעניין מחט נקובה דאסרי אפילו במעמדת קישוריה צע"ג, וכמדומה שנהגו להיתר וכמ"ש בש"ג ודו"ק)