[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-date: Fri Jan 16 11:27:36 2004 -->
- <!--x-from-r13: wreel.lh ng Hbvprpbz.pbz (Kh, Xreel) -->
- <!--x-message-id: [email protected] -->
- <!--x-subject: [ale] Perl quickie -->
- <li><em>date</em>: Fri Jan 16 11:27:36 2004</li>
- <li><em>from</em>: jerry.yu at Voicecom.com (Yu, Jerry)</li>
- <li><em>subject</em>: [ale] Perl quickie</li>
$dir shouldn't be declared again. actually it will cause complie-time error.
-----Original Message-----
From: Chris Fowler [<a rel="nofollow" href="mailto:cfowler">mailto:cfowler</a> at outpostsentinel.com]
Sent: Friday, January 16, 2004 11:18 AM
To: ale at ale.org
Subject: [ale] Perl quickie
I'm trying to remove all spaces in a string.
my $dir = $tag->{GENRE}."/".$info->{ARTIST}."/".$info->{ALBUM};
my $dir =~ (s/\ /\_/g);
print $dir."\n";
What is the right way to do it?
Thx,
Chris
_______________________________________________
Ale mailing list
Ale at ale.org
<a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
-------------- next part --------------
An HTML attachment was scrubbed...
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00634" href="msg00634.html">[ale] Perl quickie</a></strong>
<ul><li><em>From:</em> robertheaven at earthlink.net (Robert Heaven)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00631.html">[ale] EMC Notes and Docs?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00633.html">[ale] Perl quickie</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00676.html">[ale] Perl quickie</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00634.html">[ale] Perl quickie</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00632"><strong>Date</strong></a></li>
<li><a href="threads.html#00632"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>