in reply to Re^2: raffle_tickets_generator
in thread raffle_tickets_generator
Good reference that talks about paragraph mode.
use strict; use warnings; my ($first,$second,$third); { local $/ = ''; ($first, $second, $third) = <DATA>; } printf "First: %s", $first; printf "Second: %s", $second; printf "Third: %s", $third; __DATA__ this will go into the variable called first second here tail end charlie
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: raffle_tickets_generator
by QuillMeantTen (Friar) on Dec 05, 2015 at 10:18 UTC |
In Section
Cool Uses for Perl