|
|
Choosing A Webhost: |
Jasper's solution: msg#00008lang.perl.golf
C:\>perl -e "$_='abcde';/./;print "$'",/../,$' cde1cde Is this another 5.6.1'ism (Looks like I'll have to upgrade to 5.8 for "@+" in any case) or was Jasper's solution using some slightly more mystical quoting? I'm still somewhat confused about exactly when objects (like searches or assignments) in a comma-separated lists, arguments to for, etc. get executed. Obviously this is important for Perlgolf, which so often does two or three things at a time. Rather than learn the rules, though, I usually just try all of the permutations I can think of. Which is probably one of many reasons I'm not actually winning these contests. -Amir __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | my palindromes solution, Jasper McCrea |
|---|---|
| Next by Date: | Re: Jasper's solution, Ton Hospel |
| Previous by Thread: | my palindromes solution, Jasper McCrea |
| Next by Thread: | Re: Jasper's solution, Ton Hospel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |