XP is just a number | |
PerlMonks |
Re^2: How to read batches of SQL from a file in Perlby KurtSchwind (Chaplain) |
on Oct 25, 2007 at 02:05 UTC ( [id://647057]=note: print w/replies, xml ) | Need Help?? |
Wouldn't it be nicer and more flexible to allow people to specify the seperator? I like the idea of essentially slurping the files in and specifying the break as a NEWLINEgoNEWLINE as you did, but I think that a semi-colon is more common. I realize that the stated assumption was that the statements end with a 'go', but it would be such a minor change to make it so much more flexible.
In Section
Cool Uses for Perl
|
|