Ticket #608 (closed defect: fixed)
"beginner mode" error
| Reported by: | meironC | Owned by: | Sewi |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Context Sensitive Help | Version: | 0.46 |
| Keywords: | Cc: |
Description (last modified by szabgab) (diff)
I have written a code which uses a pipe line in Padre 0.46 and it gave this error: Using a | char in open without a | at the beginning or end is usually a typo.
Here is the code:
#!usr/bin/perl #headline.plx use warnings; use strict; #This is a program to display the headline from the perl site. It #is taken from an e-book. open LYNX, "lynx -source http://www.perl.com |" or die " Can't open lynx: $!"; $_ = ""; $_ = <LYNX> until /standard\.def/; my $head = <LYNX>; $head = ~ m|^<A HREF=[^>]+>(.*?)</a>|i; print "Today's www.perl.com headline: $1/n";
Change History
Note: See
TracTickets for help on using
tickets.
