Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by choroba (Canon)
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 browsing the Monastery: (4)
As of 2015-07-04 02:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls