Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
extract-strings
hakonhagland
Oct 26th, 2021
1,834
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Perl
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
my
$fn
=
'P2.txt'
;
open
(
my
$fh
,
'<'
,
$fn
)
or
die
"Could not open file '$fn': $!"
;
my
$str
=
do
{
local
$/
;
<
$fh
>
}
;
close
$fh
;
my
@result
=
$str
=~
/"(.*?)"/g
;
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
1 hour ago | 13.98 KB
Untitled
3 hours ago | 12.49 KB
Untitled
5 hours ago | 12.40 KB
programacion_algoritmos_flashcards.tsv
7 hours ago | 2.67 KB
Untitled
7 hours ago | 17.13 KB
Untitled
9 hours ago | 18.40 KB
Untitled
11 hours ago | 17.70 KB
Untitled
13 hours ago | 16.97 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!