Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by choroba (Chancellor)
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: (6)
As of 2016-05-31 00:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?