SPUG: looking for $variable for multiline print
Bob Brockhausen
BBrockha at starbucks.com
Tue Feb 5 10:51:31 CST 2002
Does anyone know which $var to set to print
out more than one line when matching?? I can't
remember nor find it in Camel book...
I tried to "if (/being_pat/ .. /end_pat/) { print "$_\n"}
but this print each line seperatly, I want to handle
them as one single scalar not seperate scalars
(as in above example)
--- Hailing frequencies closed
----------------------------------------------------------------------------
Bob Brockhausen Phone: 206-318-6413
PO Box 34067 S-IT2 Pager: 206-810-3707
Seattle Wash 98124-1067 Fax: 206-318-2371
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Subscriptions; Email to majordomo at pm.org: ACTION LIST EMAIL
Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
For daily traffic, use spug-list for LIST ; for weekly, spug-list-digest
Seattle Perl Users Group (SPUG) Home Page: http://seattleperl.org
More information about the spug-list
mailing list