Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: how to fetch 1,2,3, from chapter

by choroba (Abbot)
on Apr 26, 2013 at 10:12 UTC ( #1030799=note: print w/ replies, xml ) Need Help??


in reply to how to fetch 1,2,3, from chapter

Using glob:

#!/usr/bin/perl use warnings; use strict; my $f = 'chapter 1,2,3'; $f =~ s/ ([0-9,]+)/\\ {$1}/; print "$_\n" for glob $f;
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: how to fetch 1,2,3, from chapter
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1030799]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2014-07-26 05:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls